Skip to content

Update profile.tex

Update profile.tex #82

Workflow file for this run

name: Build LaTeX document on push
on:
push:
paths:
- "**.tex"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build_latex:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v2
- name: Compile LaTeX document
uses: xu-cheng/latex-action@v2
with:
root_file: resume.tex
post_compile: |
mkdir .github/build && \
mv resume.pdf .github/build/${{ secrets.RESUME_FILE_NAME }} && \
cp index.html .github/build/
- name: Confirm PDF is there
run: test -f .github/build/${{ secrets.RESUME_FILE_NAME }}
- name: Upload Resume to Workflow artifact
uses: actions/upload-artifact@v2
with:
name: Resume
path: .github/build/${{ secrets.RESUME_FILE_NAME }}
retention-days: 5
- name: Clean-up build directory
run: sudo rm --verbose --recursive --force .github/build/