Skip to content

Workflow file for this run

name: Build LaTeX document
on: [push]
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v3
with:
root_file: resume.tex
- name: Upload PDF file
uses: actions/upload-artifact@v4
with:
name: resume
path: resume.pdf
- name: Release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
with:
files: resume.pdf
- name: Commit and push to gh-pages
run: |
git config --global user.name 'Jonah Seguin'
git config --global user.email '[email protected]'
git checkout -B gh-pages
git add resume.pdf
git commit -m "Meow"
git push origin gh-pages --force