fix commit nr
Some checks failed
Container Publish / build-image (push) Has been cancelled

This commit is contained in:
Paolo Asperti 2024-08-07 19:11:57 +02:00
parent 424a2b2c79
commit 96ae609691
Signed by: paspo
GPG Key ID: 06D46905D19D5182

View File

@ -28,7 +28,11 @@ 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
echo ""
echo "file contents:"
cat config/_default/params.yaml
- name: Build Hugo
uses: lowply/build-hugo@v0.129.0