Skip to content

Doc updates

Doc updates #10

Workflow file for this run

# This job updates the documentation and pushes it to GitHub pages
# This occurs when a PR to main is merged
name: Documentation
on:
pull_request:
branches: [main]
types:
- closed
jobs:
build:
if: github.event.pull_request.merged == true
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