diff --git a/.gitea/workflows/docs.yml b/.gitea/workflows/docs.yml new file mode 100644 index 0000000..756953c --- /dev/null +++ b/.gitea/workflows/docs.yml @@ -0,0 +1,34 @@ +name: Build docs + +on: + pull_request: + +jobs: + build-docs: + runs-on: ubuntu-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: Install TeXlive + env: + ACCEPT_EULA: y + DEBIAN_FRONTEND: noninteractive + run: | + echo "ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true" | sudo debconf-set-selections + sudo apt-get update && sudo apt-get install texlive-lang-german texlive-xetex texlive texlive-publishers texlive-science latexmk cm-super ttf-mscorefonts-installer -y + sudo fc-cache -f -v + + - 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 diff --git a/docs/projektdokumentation.tex b/docs/projektdokumentation.tex index 4d045f4..44c3cca 100644 --- a/docs/projektdokumentation.tex +++ b/docs/projektdokumentation.tex @@ -77,7 +77,7 @@ \centering \vspace*{2cm} - {\Huge\bfseries Casino Gaming Platform\par} + {\Huge\bfseries Casino Gaming Platform GURWEABSOHN\par} \vspace{1.5cm} {\Large\itshape Projektdokumentation für die IHK-Abschlussprüfung\par} \vspace{2cm}