Compare commits
1 commit
3bb3cafa14
...
17774fcdb2
Author | SHA1 | Date | |
---|---|---|---|
17774fcdb2 |
1 changed files with 28 additions and 0 deletions
28
.gitea/workflows/docs.yml
Normal file
28
.gitea/workflows/docs.yml
Normal file
|
@ -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
|
Reference in a new issue