feat: add 2024-Q3, add deploy workflow #1
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: Deploy latex resume to Github Page | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish-github-page: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out | |
uses: actions/checkout@main | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
fetch-depth: 0 | |
- name: Install latexmk | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y texlive-full | |
- name: Build docs | |
run: | | |
latexmk -pdf ./main.tex -outdir=./_build | |
latexmk -c -pdf ./main.tex -outdir=./_build | |
- name: Push documentation to Github Page | |
uses: peaceiris/actions-gh-pages@v3.8.0 | |
with: | |
personal_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_branch: gh-pages | |
publish_dir: ./_build |