Merge branch 'main' of github.com-personal:leomurca/undergraduate-thesis
This commit is contained in:
commit
079c324953
1 changed files with 21 additions and 0 deletions
21
.github/workflows/deploy-pdf.yml
vendored
Normal file
21
.github/workflows/deploy-pdf.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
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: main.pdf
|
Loading…
Reference in a new issue