-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (38 loc) · 1.07 KB
/
website.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
name: Documentation
on:
push:
branches:
- 'master'
permissions:
id-token: write
pages: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Biber and LaTeX
run: sudo apt install -y biber pandoc texlive-latex-recommended texlive-latex-extra
- name: Install Pandoc
run: wget https://github.com/jgm/pandoc/releases/download/3.4/pandoc-3.4-1-amd64.deb -O pandoc.deb && sudo dpkg -i pandoc.deb
- name: Compile Document
run: ./script/general/docstopdf.sh
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build Pages
uses: actions/jekyll-build-pages@v1
with:
destination: ./_site
source: /docs
- name: Upload Artifact
uses: actions/upload-pages-artifact@v3
deploy:
runs-on: ubuntu-latest
needs: build
environment:
url: 'https://tjira.github.io/acorn'
name: docs
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4