-
Notifications
You must be signed in to change notification settings - Fork 14
32 lines (31 loc) · 1.12 KB
/
compile-spec.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
on: [push]
jobs:
compile_exercises_job:
runs-on: ubuntu-latest
name: Compile specification
steps:
- uses: actions/checkout@v2
- name: Prepare template
run: |
sed -i "s/-SNAPSHOT/-SNAPSHOT, commit `git rev-parse --short HEAD`/" ldbc.cls
- name: Build PDFs with the LaTeX engine in Docker
uses: ldbc/document-builder@main
with:
makefile-arguments: texfot query_cards workloads
- name: Create package
run: |
mkdir out/
cp *.pdf out/
cp standalone-query-cards/*.pdf out/
cp figures/schema-comfortable.pdf out/schema.pdf
cp figures/schema-comfortable.png out/schema.png
cp figures/example-graph-with-updates.pdf out/example-graph-with-updates.pdf
cp figures/example-graph-without-updates.pdf out/example-graph-without-updates.pdf
cp deployment/readme-to-deploy.md out/README.md
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: out
single-commit: true
if: github.event_name == 'push' && github.ref == 'refs/heads/main'