build on deploy

This commit is contained in:
Chris Wanstrath 2025-10-01 10:16:42 -07:00
parent 7e3f7d8170
commit 4beb091ab2

View File

@ -9,6 +9,14 @@ ROOT_DIR="$SCRIPT_DIR/.."
source "$ROOT_DIR/scripts/config.sh"
# Make sure we're up-to-date
if [ -n "$(git status --porcelain)" ]; then
echo "=> You have unsaved (git) changes"
exit 1
fi
bun run build
git commit -am "update build.js"
git push origin main
git push gitea main