diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..7c332a6 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,26 @@ +name: Build Resume PDF + +on: + push: + paths: + - "resume.tex" + - ".gitea/workflows/build.yml" + workflow_dispatch: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v3 + with: + root_file: resume.tex + + - name: Upload PDF artifact + uses: actions/upload-artifact@v4 + with: + name: resume + path: resume.pdf