From 17774fcdb2db6b0f78d0e322b95663a22959388f Mon Sep 17 00:00:00 2001 From: jank Date: Wed, 4 Jun 2025 12:04:40 +0200 Subject: [PATCH] chore: Add pipeline --- .gitea/workflows/docs.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .gitea/workflows/docs.yml diff --git a/.gitea/workflows/docs.yml b/.gitea/workflows/docs.yml new file mode 100644 index 0000000..585f0b2 --- /dev/null +++ b/.gitea/workflows/docs.yml @@ -0,0 +1,28 @@ +name: Build docs + +on: + push: + branches: [main] + +jobs: + build-docs: + runs-on: ubuntu-latest + container: + image: git.kjan.de/actions/runner-latex:latest + env: + # Edit here with the names of your latex file and directory (can use ".") + DIR: docs + FILE: projektdokumentation.tex + steps: + - name: Checkout + uses: actions/checkout@v2 + + - name: LaTeX compile + working-directory: ${{ env.DIR }} + run: latexmk -pdf -xelatex ${{ env.FILE }} + + - name: Upload artifacts + uses: https://git.kjan.de/actions/upload-artifact@v3 + with: + name: Doku + path: docs/projektdokumentation.pdf