Update project detail #5
This file contains hidden or 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 CV and commit PDF | |
| on: | |
| pull_request: | |
| branches: [master] | |
| paths-ignore: | |
| - "**.pdf" | |
| - "**.typ" | |
| - "doc/**" | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install poetry | |
| - name: Build CV | |
| run: | | |
| poetry install | |
| poetry run rendercv render Jaewoo_Jung_CV.yaml | |
| - name: Commit PDF back to repo | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "chore(pdf): update compiled PDF [skip ci]" | |
| file_pattern: Jaewoo_Jung_CV.pdf |