build on deploy
This commit is contained in:
parent
7e3f7d8170
commit
4beb091ab2
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user