pin: replace HASH with short commit hash in footer
All checks were successful
Pin to IPFS / pin (push) Successful in 10s
All checks were successful
Pin to IPFS / pin (push) Successful in 10s
This commit is contained in:
parent
13a2ca68f5
commit
8cb206370f
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ jobs:
|
|||
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
|
||||
SHORT="$(echo "${SHA}" | cut -c1-8)"
|
||||
sed -i "s/HASH/${SHORT}/g" /work/repo/index.html
|
||||
rm -rf /work/repo/.git
|
||||
volumeMounts:
|
||||
- { name: work, mountPath: /work }
|
||||
|
|
|
|||
Loading…
Reference in a new issue