Add generated PDF #111
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: Build LaTeX document | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GH_PAT }} | |
- name: Compile LaTeX document | |
uses: xu-cheng/latex-action@v2 | |
with: | |
root_file: ReCeiVe_cv_[2021].tex | |
compiler: lualatex | |
- name: Rename output file | |
run: mv ReCeiVe_cv_[2021].pdf "Dylane Bengono DevsecOps.pdf" | |
- name: Commit and push | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git add "Dylane Bengono DevsecOps.pdf" | |
git commit -m "Add generated PDF" | |
git push |