mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2025-06-24 21:34:22 +00:00
More script updates and site content changes
Also in this commit, I added my Keybase proof btw. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
8b77e1e70f
commit
3e9b4b9bf3
7 changed files with 148 additions and 13 deletions
|
@ -48,6 +48,13 @@ else
|
|||
${DEPLOY_COMMAND:-"$_command_prefix"}
|
||||
fi
|
||||
|
||||
if [[ $_branch_name_git == "main" ]]; then
|
||||
tar -C public -cvz . -f site-build.tar.gz
|
||||
curl --oauth2-bearer "$SOURCEHUT_PAGES_TOKEN" \
|
||||
-Fcontent=@site-build.tar.gz \
|
||||
"https://pages.sr.ht/publish/ajhalili2006.srht.site"
|
||||
fi
|
||||
|
||||
if [[ $DEBUG != "" ]]; then
|
||||
set +x
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue