-
Notifications
You must be signed in to change notification settings - Fork 1
28 lines (28 loc) · 872 Bytes
/
docs.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Documentation
on:
push:
branches:
- master
pull_request:
jobs:
build:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Julia
uses: julia-actions/setup-julia@latest
with:
version: "1.9"
- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install graphviz pdf2svg
sudo apt-get install texlive-latex-base texlive-latex-extra texlive-binaries texlive-pictures texlive-luatex
- name: Install Julia dependencies
run: julia --project=docs/ -e "using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()"
- name: Build and deploy docs
env:
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make.jl