This repository has been archived on 2025-06-18. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
casino/.gitea/workflows/docs.yml
Jan K9f 9717e5c43e
All checks were successful
Build docs / build-docs (push) Successful in 25s
Merge pull request 'fix: Fix docs building' (!296) from fix-docs-2 into main
Reviewed-on: #296
Reviewed-by: Constantin Simonis <constantin@simonis.lol>
2025-06-06 11:58:30 +00:00

28 lines
690 B
YAML

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@v4
- 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 # Do not upgrade
with:
name: Doku
path: docs/projektdokumentation.pdf