From dcb23c094db9b5eedff4ec6b8e823f11d9124f1b Mon Sep 17 00:00:00 2001 From: Matt Johnson Date: Tue, 24 Sep 2024 19:53:30 -0700 Subject: [PATCH] revert documentation --- .github/workflows/documentation.yml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 3f974185..cc731b92 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -13,21 +13,20 @@ jobs: contents: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v2 + - uses: julia-actions/setup-julia@latest with: version: '1.10' - - uses: actions/cache@v1 + - name: Install dependencies + run: | + current_path=${{ github.workspace }} + export JULIA_CONDAPKG_ENV="$current_path/rms_env" + julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.build("ReactionMechanismSimulator");' + - name: Build and deploy env: - cache-name: cache-artifacts - with: - path: ~/.julia/artifacts - key: ${{ runner.os }}-test-${{ env.cache-name }}-${{ hashFiles('**/Project.toml') }} - restore-keys: | - ${{ runner.os }}-test-${{ env.cache-name }}- - ${{ runner.os }}-test- - - uses: julia-actions/julia-buildpkg@latest - - uses: julia-actions/julia-docdeploy@latest - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token + DOCUMENTER_DEBUG: true + run: | + current_path=${{ github.workspace }} + export JULIA_CONDAPKG_ENV="$current_path/rms_env" + julia --color=yes --project=docs docs/make.jl