From 640ead018b963719556c46dcf47db58577423d9b Mon Sep 17 00:00:00 2001 From: jafreli Date: Tue, 31 Dec 2024 01:09:23 +0000 Subject: [PATCH] test latex --- .gitea/workflows/latex.yaml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/.gitea/workflows/latex.yaml b/.gitea/workflows/latex.yaml index c40e406..6abbdcb 100644 --- a/.gitea/workflows/latex.yaml +++ b/.gitea/workflows/latex.yaml @@ -1,23 +1,19 @@ -name: "Build PDF" - +name: Release Compiled PDF on: push: - branches: [ main ] + branches: [ master ] pull_request: - branches: [ main ] + branches: [ master ] + + workflow_dispatch: jobs: - build: + build_latex: runs-on: ubuntu-latest - container: - image: ghcr.io/moderncv/debian-texlive-docker:main steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Build PDF - run: latexmk ./dokumentation.tex - - name: Upload PDF - uses: actions/upload-artifact@v3 + - name: Set up Git repository + uses: actions/checkout@v2 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v2 with: - name: dokumentation.pdf - path: ./dokumentation.pdf \ No newline at end of file + root_file: latex/dokumentation.tex \ No newline at end of file