Skip to content

MultiDocumenter

MultiDocumenter #47

name: MultiDocumenter
on:
# Run after Documenter workflow completes building the landing page
workflow_run:
workflows: ["Documenter"]
types:
- completed
# Run every Sunday at 12:00 AM UTC
schedule:
- cron: '0 0 * * 0'
jobs:
MultiDocumenter:
runs-on: ubuntu-latest
permissions:
contents: write
pages: write
steps:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1'
- uses: actions/cache@v4
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=. --color=yes -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/make_multidocs.jl deploy