Skip to content

Commit

Permalink
revert documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson541 committed Sep 25, 2024
1 parent 8c1357d commit dcb23c0
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dcb23c0

Please sign in to comment.