From 4700e27cc8df7a93ec7654816d3f08306054b935 Mon Sep 17 00:00:00 2001 From: Helder Oliveira Date: Thu, 23 Nov 2023 17:51:30 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20branch=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update b/scripts/update index 4d3a49d..0421bd4 100755 --- a/scripts/update +++ b/scripts/update @@ -17,14 +17,14 @@ if ! git checkout "$targetBranch"; then exit 1 fi -if ! git pull origin main; then +if ! git pull origin "$targetBranch"; then echo "👹 Oops! Failed to pull latest" exit 1 fi if ! docker compose ps --format "{{.Service}} {{.State}}" | grep 'llm_indexer running' || ! docker compose ps --format "{{.Service}} {{.State}}" | grep 'discordjs-bot'; then - echo "⚠️ Warning: Docker compose stack is down" + echo "⚠️ Warrning: Docker compose stack is down" echo "🤖 Should start compose stack, be patient..." if ! docker compose up -d; then