diff --git a/.gitea/actions/actions.yaml b/.gitea/actions/actions.yaml index e69de29..a08f821 100644 --- a/.gitea/actions/actions.yaml +++ b/.gitea/actions/actions.yaml @@ -0,0 +1,19 @@ +name: Generate and publish Document +on: [ push ] + +jobs: + generate-and-publish: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - name: Set up Git repository + uses: actions/checkout@v4 + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: main.tex + - name: Upload PDF file + uses: actions/upload-artifact@v4 + with: + name: PDF + path: main.pdf \ No newline at end of file