Skip to content

Commit ccdc912

Browse files
Add pdf upload with github actions
1 parent 120d176 commit ccdc912

File tree

3 files changed

+28
-1
lines changed

3 files changed

+28
-1
lines changed

.github/workflows/deploy_pdf.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Deploy PDF"
2+
on:
3+
pull_request:
4+
push:
5+
jobs:
6+
deploy:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v4
10+
- uses: cachix/install-nix-action@v31
11+
with:
12+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
13+
- name: Pre-build devShell
14+
run: nix build --no-link .#devShells.$(nix eval --impure --raw --expr 'builtins.currentSystem').default
15+
- name: Build the resume
16+
shell: 'nix develop -c bash -e {0}'
17+
run: rendercv render Francesco_Bozzo_CV.yaml
18+
- name: Publish the resume as artifact
19+
uses: actions/upload-artifact@v4
20+
with:
21+
name: Francesco_Bozzo_CV.pdf
22+
path: rendercv_output/Francesco_Bozzo_CV.pdf

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
.direnv
22
engineeringclassic
33
markdown
4+
rendercv_output
5+
__pycache__

Francesco_Bozzo_CV.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,5 +248,8 @@ locale:
248248
- December
249249
rendercv_settings:
250250
date: '2025-08-31'
251-
render_command:
252251
bold_keywords: []
252+
render_command:
253+
dont_generate_html: true
254+
dont_generate_markdown: true
255+
dont_generate_png: true

0 commit comments

Comments
 (0)