-
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 952 Bytes
/
compile.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
name: Rebuild Index
on: [push]
jobs:
build:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
steps:
- uses: actions/checkout@v1
- uses: Shirakumo/[email protected]
with:
input: specification.mess
output: specification.html
- uses: Shirakumo/[email protected]
with:
input: specification.mess
output: specification.pdf
format: latex
styling: style.tex
- shell: bash
run: |
mkdir -p /tmp/markless/
cp specification.pdf style.css card.png index.html /tmp/markless/
sed -e '/<main>/{r specification.html' -e 'd}' template.ctml > /tmp/markless/specification.html
- name: Upload Github Pages Artefact
uses: actions/[email protected]
with:
path: /tmp/markless/
- name: Write to Github Pages
uses: actions/deploy-pages@v4