Compare commits
1 commit
474f39097d
...
3bb3cafa14
Author | SHA1 | Date | |
---|---|---|---|
3bb3cafa14 |
1 changed files with 27 additions and 0 deletions
27
.gitea/workflows/docs.yml
Normal file
27
.gitea/workflows/docs.yml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
name: Build docs
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
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