diff --git a/.github/workflows/generatepdf.yml b/.github/workflows/generatepdf.yml index 033571a..4907c3a 100644 --- a/.github/workflows/generatepdf.yml +++ b/.github/workflows/generatepdf.yml @@ -21,13 +21,9 @@ jobs: cp Corso_AI.md Corso_AI-backup.md sed -i "s/%date%/$(date +'%Y-%m-%d')/g" Corso_AI.md sed -i "s/%time%/$(date +'%H:%M')/g" Corso_AI.md - sed -i "s/%version%/$(git rev-parse --short HEAD)/g" Corso_AI.md npx @marp-team/marp-cli@latest Corso_AI.md --pdf --allow-local-files rm Corso_AI.md mv Corso_AI-backup.md Corso_AI.md - - -# docker run --rm --init -v $PWD:/home/marp/app/ -e LANG="it_IT.UTF-8" -e MARP_USER="$(id -u):$(id -g)" marpteam/marp-cli Corso_AI.md --pdf --allow-local-files --html - name: commit & push run: | diff --git a/slide/Corso_AI.md b/slide/Corso_AI.md index e98b04e..2abb73f 100644 --- a/slide/Corso_AI.md +++ b/slide/Corso_AI.md @@ -5,7 +5,7 @@ paginate: true backgroundColor: #fff backgroundImage: url('https://marp.app/assets/hero-background.svg') marp: true -footer: https://github.com/matteobaccan/CorsoAI versione del %DATE% %TIME% - revisione %version% +footer: https://github.com/matteobaccan/CorsoAI versione del %date% %time% --- # Corso AI