Skip to content

Commit

Permalink
Update latex.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nsswifter authored Aug 5, 2024
1 parent 8ba7b64 commit fe6a0ca
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/latex.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,21 @@ jobs:
- name: Set up LaTeX environment
uses: xu-cheng/latex-action@v2
with:
root_file: ./CV.tex
root_file: CV.tex
latexmk_use_lualatex: true

- name: Commit PDF file
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add <your-output-file>.pdf # Replace with your output file path
git commit -m "Add compiled PDF"
git push
env:
GITHUB_TOKEN: ${{ secrets.ACTIONS_DEPLOY_KEY }}

- name: Upload PDF
uses: actions/upload-artifact@v2
with:
name: CV
path: ./CV.pdf
path: CV.pdf

0 comments on commit fe6a0ca

Please sign in to comment.