Files
cv/.github/workflows/rendercv.yml
T

37 lines
820 B
YAML

name: RenderCV
on:
push:
paths:
- "miti99.yml"
pull_request:
paths:
- "miti99.yml"
workflow_dispatch:
jobs:
render:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: "3.12"
- name: Install RenderCV
run: |
python -m pip install --upgrade pip
pip install rendercv
- name: Render CV
run: rendercv render miti99.yml
- name: Commit and push PDF
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add miti99.pdf
git diff --staged --quiet || git commit -m "chore: auto-render CV PDF"
git push