Skip to content

Commit

Permalink
Docs: reduce to single install & build step
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickm663 authored Jan 22, 2024
1 parent 07d9a1a commit 8056b7c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Source: https://documenter.juliadocs.org/stable/man/hosting/
# Modified from: https://documenter.juliadocs.org/stable/man/hosting/

name: Documentation

Expand All @@ -20,9 +20,7 @@ jobs:
- uses: julia-actions/setup-julia@v1
with:
version: '1.10'
- name: Install dependencies
run: cd docs/ && julia --project=. -e 'using Pkg; Pkg.instantiate()'
- name: Build and deploy
- name: Install dependencies, build, and deploy
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} # If authenticating with GitHub Actions token
run: cd docs/ && julia --project=. make.jl
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
run: cd docs/ && julia --project=. -e 'using Pkg; Pkg.instantiate()' && julia --project=. make.jl

0 comments on commit 8056b7c

Please sign in to comment.