File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Render CV
1+ name : Render CV + Deploy to Personal Page
22
33on :
44 push :
99 render :
1010 runs-on : ubuntu-latest
1111 permissions :
12- contents : write # ← this fixes the 403 error
12+ contents : write
1313
1414 steps :
1515 - uses : actions/checkout@v4
2020
2121 - run : nix develop --command rendercv render cv.yaml --output-folder render-output -nopng
2222
23- - uses : stefanzweifel/git-auto-commit-action@v5
23+ - name : Deploy to Personal GitHub Page
24+ uses : peaceiris/actions-gh-pages@v4
2425 with :
25- commit_message : " chore: update rendered CV (PDF/HTML/MD)"
26- file_pattern : render-output/*
26+ personal_token : ${{ secrets.GH_PAT }}
27+ external_repository : Yury-Zakharov/Yury-Zakharov
28+ publish_dir : ./render-output
29+ publish_branch : main
30+ force_orphan : true
31+ destination_dir : .
32+ # Rename CV HTML to index.html so it becomes the homepage
33+ script : |
34+ cp render-output/Yury_Zakharov_CV.html render-output/index.html
You can’t perform that action at this time.
0 commit comments