From f93a431c16d6834ed3f01073f771f5dcb9e0f5ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Wed, 3 Jan 2024 16:58:41 +0100 Subject: [PATCH] add CI --- .gitea/workflows/build.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .gitea/workflows/build.yaml 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