Skip to content

Commit

Permalink
fix: 🐛 branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Nov 23, 2023
1 parent 265c956 commit 4700e27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/update
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4700e27

Please sign in to comment.