fix commit nr #190

Merged
paspo merged 1 commits from paspo/bglug.it:fix-commitnr into main 2024-08-07 17:41:21 +00:00

View File

@ -28,7 +28,8 @@ jobs:
- name: update git hash
run: |
H=$(git rev-parse --short=10 HEAD)
sed -i 's/AbbreviatedHash\.*/AbbreviatedHash: $H/' config/_default/params.yaml
echo "commit: $H"
sed -i "s/AbbreviatedHash\:.*$/AbbreviatedHash: ${H}/" config/_default/params.yaml
- name: Build Hugo
uses: lowply/build-hugo@v0.129.0