Skip to content

Commit

Permalink
Update deploy.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thekeenant authored Dec 2, 2023
1 parent b5690f1 commit 1212019
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ echo "Updated fetch-seed-data digest: $FETCH_SEED_DATA_DIGEST_UPDATED"
echo "Running migrations..."
docker compose up migrate

if [ "$FETCH_SEED_DATA_DIGEST_CURRENT" == "$FETCH_SEED_DATA_DIGEST_UPDATED" ]; then
echo "Skipping seed, no new seed data available"
else
echo "Running seed with new seed data..."
# if [ "$FETCH_SEED_DATA_DIGEST_CURRENT" == "$FETCH_SEED_DATA_DIGEST_UPDATED" ]; then
# echo "Skipping seed, no new seed data available"
# else
# echo "Running seed with new seed data..."
docker compose up seed
fi
# fi

echo "Stopping containers..."
docker compose stop

echo "Starting api..."
docker compose up -d api
echo "Done"
echo "Done"

0 comments on commit 1212019

Please sign in to comment.