diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 9cc86a2..94a158e 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -22,8 +22,22 @@ jobs: - name: Compile LaTeX to PDF run: make - - name: Upload Artifact - uses: actions/upload-artifact@v2 + - name: Clone niclaurenti.github.io + uses: actions/checkout@v2 with: - name: my-cv - path: cv.pdf + repository: niclaurenti/niclaurenti.github.io + token: ${{ secrets.REPO_ACCESS_TOKEN }} + path: niclaurenti.github.io + + - name: Copy cv.pdf + run: | + cp cv.pdf niclaurenti.github.io/files + + - name: Commit and Push Changes + run: | + cd niclaurenti.github.io + git config user.email "niclaurenti@gmail.com" + git config user.name "niclaurenti" + git add files/cv.pdf + git commit -m "Automated update of cv.pdf: ${{ github.event.head_commit.message }}" + git push diff --git a/.gitignore b/.gitignore index d0174e0..8d20278 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ cv.aux cv.log cv.fdb_latexmk cv.fls +cv.pdf \ No newline at end of file diff --git a/cv.pdf b/cv.pdf deleted file mode 100644 index 5b0c70b..0000000 Binary files a/cv.pdf and /dev/null differ diff --git a/cv.tex b/cv.tex index 2d60277..0eec416 100644 --- a/cv.tex +++ b/cv.tex @@ -54,6 +54,7 @@ % Available options: circle|rectangle,edge/noedge,left/right % \photo{./examples/profile.png} \name{Niccol\`o}{Laurenti} +% \name{Prova}{Prova} \position{Ph.D.\ Researcher in Particle Physics~~~ยท~~~Scientific Software Developer} % \position{Site Reliability Engineer{\enskip\cdotp\enskip}Software Architect} % \address{via Leonida Rech 80, Rome, 00156, Italy}