Generally update the site and then some

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2023-07-15 17:40:48 +00:00
parent f609aa89c4
commit 3b6b84728d
8 changed files with 83 additions and 13 deletions

View file

@ -9,6 +9,8 @@ if [[ $SOURCEHUT_PAGES_TOKEN == "" ]]; then
exit 1
fi
mkdir "gmi/api"
git rev-parse HEAD > "gmi/api/commit"
tar -C gmi -cvz . -f site.tar.gz
curl --oauth2-bearer "$SOURCEHUT_PAGES_TOKEN" \