pin: replace HASH with short commit hash in footer
All checks were successful
Pin to IPFS / pin (push) Successful in 10s

This commit is contained in:
Niels Göttsch 2026-06-14 19:35:16 +02:00
parent 13a2ca68f5
commit 8cb206370f
No known key found for this signature in database
GPG key ID: E325AC85B57E4370

View file

@ -62,7 +62,8 @@ jobs:
git remote add origin https://git.ziemlichoptimal.de/niels/randomp2p.git git remote add origin https://git.ziemlichoptimal.de/niels/randomp2p.git
git fetch --depth 1 origin ${SHA} git fetch --depth 1 origin ${SHA}
git checkout FETCH_HEAD git checkout FETCH_HEAD
sed -i "s/HASH/${SHA}/g" /work/repo/index.html SHORT="$(echo "${SHA}" | cut -c1-8)"
sed -i "s/HASH/${SHORT}/g" /work/repo/index.html
rm -rf /work/repo/.git rm -rf /work/repo/.git
volumeMounts: volumeMounts:
- { name: work, mountPath: /work } - { name: work, mountPath: /work }