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 + Deploy to Personal Page & Profile README
1+ name : Render CV + Deploy ONLY index.html + README.md
22
33on :
44 push :
@@ -20,21 +20,18 @@ jobs:
2020
2121 - run : nix develop --command rendercv render cv.yaml --output-folder render-output -nopng
2222
23- - name : Prepare clean deployment files
23+ - name : Prepare clean deployment (ONLY index.html + README.md)
2424 run : |
25- cp render-output/Yury_Zakharov_CV.html render-output/index.html
26- cp render-output/Yury_Zakharov_CV.md render-output/README.md
25+ mkdir -p deploy
26+ cp render-output/Yury_Zakharov_CV.html deploy/index.html
27+ cp render-output/Yury_Zakharov_CV.md deploy/README.md
2728
28- - name : Deploy index.html + README.md only
29+ - name : Deploy to Yury-Zakharov repo (personal page + profile README)
2930 uses : peaceiris/actions-gh-pages@v4
3031 with :
3132 personal_token : ${{ secrets.GH_PAT }}
3233 external_repository : Yury-Zakharov/Yury-Zakharov
33- publish_dir : ./render-output
34+ publish_dir : ./deploy
3435 publish_branch : main
3536 force_orphan : true
3637 destination_dir : .
37- # Keep only the two files we want
38- script : |
39- rm -f render-output/*.pdf render-output/*.typ render-output/*.png 2>/dev/null || true
40- ls -la render-output/
You can’t perform that action at this time.
0 commit comments