[IMP] add commit hash to footer and make checkout lighter
All checks were successful
Pin to IPFS / pin (push) Successful in 13s

This commit is contained in:
Niels Göttsch 2026-06-14 16:45:31 +02:00
parent 37986d0776
commit fc81c1108b
No known key found for this signature in database
GPG key ID: E325AC85B57E4370
2 changed files with 6 additions and 3 deletions

View file

@ -57,9 +57,12 @@ jobs:
args:
- |
set -e
git clone https://git.ziemlichoptimal.de/niels/randomp2p.git /work/repo
git init /work/repo
cd /work/repo
git checkout ${SHA}
git remote add origin https://git.ziemlichoptimal.de/niels/randomp2p.git
git fetch --depth 1 origin ${SHA}
git checkout FETCH_HEAD
sed -i "s/HASH/${SHA}/g" /work/repo/index.html
rm -rf /work/repo/.git
volumeMounts:
- { name: work, mountPath: /work }

View file

@ -126,7 +126,7 @@
</section>
<footer>
<p>&copy; by neunzig.wtf &middot; commit 87d2d0f</p>
<p>&copy; by neunzig.wtf &middot; commit <span id="commit-hash">HASH</span></p>
</footer>
<script src="vendor/simplepeer.min.js"></script>
<script src="vendor/qrcode.min.js"></script>