-
-
Notifications
You must be signed in to change notification settings - Fork 4
72 lines (62 loc) · 1.58 KB
/
gh-pages.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
name: github pages
on:
push:
branches:
- main # Set a branch that will trigger a deployment
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 1
- name: Set-up OCaml
uses: ocaml/setup-ocaml@v2
with:
ocaml-compiler: "5.2"
- name: Install Forester
run: |
git clone https://git.sr.ht/~jonsterling/ocaml-forester
cd ocaml-forester
git checkout datalog
opam pin add -y .
- name: Setup TeX Live
uses: teatimeguest/setup-texlive-action@v3
with:
packages: >-
scheme-medium
standalone
mlmodern
amsfonts
amsmath
zx-calculus
tikz-cd
l3packages
dvisvgm
pgf
etoolbox
mathtools
stmaryrd
newtx
newpx
xstring
fontaxes
kastrup
spath3
xpatch
- name: Check `latex` version
run: latex --version
- name: Build with Forester
run: opam exec -- forester build forest.toml
- name: Setup upterm session
if: failure()
uses: lhotari/action-upterm@v1
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./output
cname: www.jonmsterling.com