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