commit 518a9aca575e55ae5ae6d0473c5710e3e7518446 parent d3bff0837ba81b9d94d5ab83d55bcb0ca8bf8fa5 Author: minerva-jupiter <ryouturn@gmail.com> Date: Fri, 11 Apr 2025 21:24:08 +0900 Merge branch 'main' of https://github.com/minerva-jupiter/latex-template Diffstat:
| A | .github/workflows/latex.yml | | | 29 | +++++++++++++++++++++++++++++ |
1 file changed, 29 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/latex.yml b/.github/workflows/latex.yml @@ -0,0 +1,29 @@ +name: LaTeX compilation +on: + push: + branches: + - main +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Set up Git repository + uses: actions/checkout@v3 + with: + fetch-depth: 0 + - name: Merge main branch + run: | + git config user.name fiveseven-lambda + git config user.email fiveseven.lambda@gmail.com + git checkout pdf + git merge main + - name: Compile LaTeX document + uses: xu-cheng/latex-action@v2 + with: + root_file: + sample.tex + - name: Push PDF file + run: | + git add . + git commit -m "LaTeX compilation" + git push origin pdf