diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..6b9ac8d --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -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