www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules

commit a50b38fe4bf50d27f0aab5b3610ca843ca003b3d
parent 07343698092b8863cdc28ddee5c36f0d236ece4d
Author: Suzanne Soy <jsmaniac.github@suzanne.soy>
Date:   Tue, 18 Apr 2023 02:35:42 +0100

Name IPFS pins with date (for sorting)

Diffstat:
M.github/github_update_homepage.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/github_update_homepage.sh b/.github/github_update_homepage.sh @@ -30,7 +30,7 @@ echo "Connecting to some IPFS node..." echo "Pinning $h on the remote service..." ( - ipfs pin remote add --service=my-remote-pin --name='site-suzanne.soy-'"$GITHUB_SHA" "$h" + ipfs pin remote add --service=my-remote-pin --name='site-suzanne.soy-'"$(TZ=UTC git log -1 --format=%cd --date=iso-strict-local HEAD)"-"$GITHUB_SHA" "$h" ) > /dev/null 2>&1 echo "Finished pinning $h on the remote service"