Update resume.tex #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compile and upload résumé PDF | |
on: | |
push: | |
branches: | |
- "main" | |
paths: | |
- "resume.tex" | |
- "index.html" | |
- ".github/workflows/**" | |
pull_request: | |
branches: | |
- "main" | |
paths: | |
- "resume.tex" | |
- "index.html" | |
- ".github/workflows/**" | |
jobs: | |
build_latex: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
persist-credentials: false | |
- name: Compile LaTeX document | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: resume.tex | |
- name: Post Processing | |
run: | | |
mkdir build | |
cp *.pdf build/ | |
cp index.html build/ | |
- name: Git add | |
run: git add resume.pdf | |
- name: Deploy to GitHub Pages | |
uses: JamesIves/[email protected] | |
with: | |
BRANCH: gh-pages | |
FOLDER: build | |
CLEAN: true |