From 74f15be40017037ac96d5e2d53c9670a4c141921 Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Mon, 9 Aug 2021 20:46:18 -0500 Subject: [PATCH] New documentation CI approach --- .github/workflows/Documentation.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/Documentation.yml b/.github/workflows/Documentation.yml index ee7a517..de11a95 100644 --- a/.github/workflows/Documentation.yml +++ b/.github/workflows/Documentation.yml @@ -13,15 +13,14 @@ on: jobs: build: runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + DISPLAY: ':99.0' steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@latest - with: - version: '1.5' - - uses: GabrielBB/xvfb-action@v1 - - name: Install dependencies - run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' - - name: Build and deploy - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: julia --project=docs/ docs/make.jl + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest + - run: sudo apt-get install xvfb -y + with: + version: '1.5' + - run: xvfb-run --auto-servernum julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()' + - run: xvfb-run --auto-servernum julia --project=docs/ docs/make.jl