undegraduate-thesis/.github/workflows/deploy-pdf.yml

24 lines
484 B
YAML
Raw Normal View History

2024-02-05 15:15:32 +00:00
name: Compile Latex and Release PDF
on:
push:
branches: [ "main" ]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v3
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: main.tex
- name: Upload PDF file
uses: actions/upload-artifact@v3
with:
name: PDF
path: test-file-main.pdf