abort if already up to date

This commit is contained in:
George Powell
2026-02-24 18:11:42 -05:00
parent acc82af7cd
commit abab886d1a
2 changed files with 8 additions and 1 deletions

2
.gitignore vendored
View File

@@ -30,3 +30,5 @@ llms-*
embeddings*
*bible.xml
engwebu_usfx.xml
deploy.log

View File

@@ -4,7 +4,12 @@ set -e
cd "$(dirname "$0")"
echo "Pulling latest changes..."
git pull
PULL_OUTPUT=$(git pull)
echo "$PULL_OUTPUT"
if [ "$PULL_OUTPUT" = "Already up to date." ]; then
echo "Nothing to deploy."
exit 0
fi
echo "Installing dependencies..."
bun i