We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c032b55 commit 4de4948Copy full SHA for 4de4948
1 file changed
.github/workflows/deploy.yml
@@ -83,9 +83,12 @@ jobs:
83
- name: Inject Giscus comments into blog posts
84
run: python inject_comments.py
85
86
- - name: Copy static files
+ - name: Copy static files and rewrite CV URL to stable path
87
run: |
88
cp CNAME ./_build/html/ 2>/dev/null || true
89
+ cp cv.pdf ./_build/html/cv.pdf
90
+ # Rewrite hashed CV URL to stable /cv.pdf path
91
+ find ./_build/html -name "*.html" -exec sed -i 's|/build/cv-[a-f0-9]\{20,\}\.pdf|/cv.pdf|g' {} \;
92
93
- name: Upload artifact
94
uses: actions/upload-pages-artifact@v4
0 commit comments