diff --git a/.gitignore b/.gitignore index 6415f92..8dfb182 100644 --- a/.gitignore +++ b/.gitignore @@ -30,3 +30,5 @@ llms-* embeddings* *bible.xml engwebu_usfx.xml + +deploy.log diff --git a/deploy.sh b/deploy.sh index f705179..5f7c321 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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