Merge pull request #52 from nichollsh/cond_test #30
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This job updates the documentation and pushes it to GitHub pages | |
# This occurs when a PR to main is merged | |
name: Documentation | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
permissions: | |
contents: write | |
pull-requests: read | |
statuses: write | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: julia-actions/setup-julia@v2 | |
with: | |
version: '1.10' | |
- uses: julia-actions/cache@v1 | |
- name: Install dependencies | |
run: julia -e 'using Pkg; Pkg.add("Documenter"); Pkg.instantiate()' | |
- name: Build and deploy | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token | |
run: julia docs/make.jl | |