diff --git a/.gitea/workflows/latex.yaml b/.gitea/workflows/latex.yaml new file mode 100644 index 0000000..d59897e --- /dev/null +++ b/.gitea/workflows/latex.yaml @@ -0,0 +1,21 @@ +name: Build LaTeX document + +on: + push: + branches: [master] + +jobs: + build-latex: + runs-on: ubuntu-22.04 + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Build LaTeX document + run: docker run --rm --volumes-from ${{ env.JOB_CONTAINER_NAME }} --workdir ${{ github.workspace }} ghcr.io/xu-cheng/texlive-full:latest latexmk -shell-escape -pdf thesis.tex + - name: Rename document + run: mv thesis.pdf facial-animation-using-inverse-kinematics.pdf + - name: Upload artifact + uses: actions/upload-artifact@v3 + with: + name: facial-animation-using-inverse-kinematics.pdf + path: facial-animation-using-inverse-kinematics.pdf