diff --git a/.gitea/workflows/compile.yml b/.gitea/workflows/compile.yml new file mode 100644 index 0000000..b17f707 --- /dev/null +++ b/.gitea/workflows/compile.yml @@ -0,0 +1,25 @@ +name: build pdf +on: push + +jobs: + build: + runs-on: macos + + steps: + - name: Check out the repository + uses: http://localhost:3000/sxlxc/checkout@v4 + + - name: Compile LaTeX using local TeX Live + run: | + echo "Compiling document..." + latexmk -pdf main.tex + + - uses: http://localhost:3000/sxlxc/gitea-release-action@v1 + with: + body: '' + prerelease: true + name: PDF + token: ${{ secrets.RELEASE_TOKEN }} + tag_name: latest + files: |- + ./*.pdf \ No newline at end of file