add CI
This commit is contained in:
parent
12c47ae64d
commit
f93a431c16
1 changed files with 19 additions and 0 deletions
19
.gitea/workflows/build.yaml
Normal file
19
.gitea/workflows/build.yaml
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
name: Compile exercises
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
compile:
|
||||||
|
runs-on: latex-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
submodules: true
|
||||||
|
- name: Compile
|
||||||
|
run: make pdf
|
||||||
|
- name: Prepare pages
|
||||||
|
run: |
|
||||||
|
mkdir -p public
|
||||||
|
mv ./ub*/build/*.pdf public/
|
||||||
|
- name: Deploy to pages
|
||||||
|
uses: actions/pages@v1
|
Loading…
Reference in a new issue