Skip to content

Dev

Dev #198

Workflow file for this run

name: Documenter
on:
push:
branches:
- main
tags: '*'
paths-ignore:
- 'LICENSE.md'
- 'README.md'
- '.github/**'
- 'test/**'
- 'img/**'
- 'validation/**'
- 'change.log'
- '.gitignore'
- 'Project.toml'
release:
types: [published]
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 40
steps:
- uses: actions/checkout@v4
- name: Update
run: sudo apt-get update
- name: Install Pandoc
run: sudo apt-get install pandoc texlive-latex-recommended texlive-xetex texlive-luatex pandoc-citeproc texlive-latex-extra
- uses: julia-actions/setup-julia@latest
with:
version: '1.8'
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-docdeploy@v1
- name: Install dependencies
run: julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
run: julia --project=docs/ docs/make.jl