mirror of
https://github.com/tiennm99/cv.git
synced 2026-10-11 03:13:18 +00:00
38 lines
858 B
YAML
38 lines
858 B
YAML
name: RenderCV
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- "miti99.yml"
|
|
pull_request:
|
|
paths:
|
|
- "miti99.yml"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
render:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
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[full]"
|
|
|
|
- name: Render CV
|
|
run: rendercv render miti99.yml
|
|
|
|
- name: Commit and push changes
|
|
run: |
|
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
|
git config --local user.name "github-actions[bot]"
|
|
git add -A
|
|
git diff --staged --quiet || git commit -m "chore: auto-render CV"
|
|
git push
|