fix commit nr (#190)

Reviewed-on: BgLUG/bglug.it#190
Co-authored-by: paspo <paolo@asperti.com>
Co-committed-by: paspo <paolo@asperti.com>
This commit is contained in:
Paolo Asperti 2024-08-07 17:41:19 +00:00 committed by Paolo Asperti
parent 424a2b2c79
commit a52943938b

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