From 4beb091ab23c30afd2fa55e5dd04af0795615672 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Wed, 1 Oct 2025 10:16:42 -0700 Subject: [PATCH] build on deploy --- scripts/deploy.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/scripts/deploy.sh b/scripts/deploy.sh index de0e728..f5ea077 100755 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -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