From d5740835cbe9335f952dde30a7929dc9d68b0d41 Mon Sep 17 00:00:00 2001 From: jbisits Date: Wed, 12 Aug 2026 09:27:39 +1000 Subject: [PATCH] update cv link builder + same cv link in about and footer --- .github/workflows/jekyll.yml | 6 +++--- _pages/about.md | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/jekyll.yml b/.github/workflows/jekyll.yml index 72b421d..89f86dc 100644 --- a/.github/workflows/jekyll.yml +++ b/.github/workflows/jekyll.yml @@ -43,10 +43,10 @@ jobs: run: | # 1. Get the latest tag name from the API (e.g., Feb2026) TAG=$(curl -s https://api.github.com/repos/jbisits/Josef-Bisits-CV/releases/latest | jq -r .tag_name) - + # 2. Build the standard GitHub blob URL - NB_URL="https://nbviewer.org/github/jbisits/Josef-Bisits-CV/blob/$TAG/main.pdf" - + NB_URL="https://nbviewer.org/github/jbisits/Josef-Bisits-CV/blob/$TAG/Bisits_CV.pdf" + # 3. Save it to Jekyll data mkdir -p _data echo "nbviewer_url: $NB_URL" > _data/version.yml diff --git a/_pages/about.md b/_pages/about.md index 03f8b21..9d86156 100644 --- a/_pages/about.md +++ b/_pages/about.md @@ -39,4 +39,5 @@ Currenlty I am a research associate in the Biological, Earth and Environmental S I am also continuing to work as a freelance double bassist where and when I get a chance! In my spare time I play and watch lots of tennis, read and spend time with my family. -[cv-pdf]: https://nbviewer.org/github/jbisits/Josef-Bisits-CV/blob/main/Bisits_CV.pdf + +[cv-pdf]: {{ site.data.version.nbviewer_url }}