Skip to content

Documentation

Documentation #1279

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
pull_request:
schedule:
- cron: 0 0 * * *
workflow_dispatch:
jobs:
aggregate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: julia-actions/setup-julia@v2
with:
version: 1
- uses: actions/cache@v5
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-
${{ runner.os }}-
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.instantiate()'
- name: Aggregate and deploy
run: |
git config user.name github-actions
git config user.email github-actions@github.com
julia --project=docs docs/make.jl ${{ github.ref == 'refs/heads/main' && '--deploy' || '' }}