Skip to content

Commit

Permalink
Re-add conditional seeding
Browse files Browse the repository at this point in the history
  • Loading branch information
thekeenant authored Dec 2, 2023
1 parent 1212019 commit ccfd523
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ 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
Expand Down

0 comments on commit ccfd523

Please sign in to comment.