added CI
This commit is contained in:
parent
29a36b4dbc
commit
b4c62a3a96
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: Build latex and deploy
|
||||||
|
run-name: ${{ gitea.actor }} is building latex
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
checkout:
|
||||||
|
runs-on: latex-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: compile
|
||||||
|
run: make
|
||||||
|
- name: Prepare pages
|
||||||
|
run: |
|
||||||
|
mkdir public
|
||||||
|
mv build/logic2.pdf build/logic2.log README.md public
|
||||||
|
- name: Deploy to pages
|
||||||
|
uses: actions/pages@v1
|
||||||
|
with:
|
||||||
|
index-title: 'WS23/24: Logic II'
|
Loading…
Reference in a new issue