Skip to content

Commit

Permalink
chore(build): do not start with stored data, db volumes (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
ruda authored and cdcabrera committed Aug 12, 2022
1 parent 586f5cc commit b984fb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ reviewApi()
docker stop -t 0 $NAME >/dev/null
fi

startDB $DB_NAME true
startDB $DB_NAME

if [ -z "$(docker ps | grep $NAME)" ]; then
printf "\n"
Expand Down Expand Up @@ -209,7 +209,7 @@ stageApi()
fi

if [ ! "$UPDATE" = true ]; then
startDB $DB_NAME true
startDB $DB_NAME

if [ -z "$(docker ps | grep $NAME)" ]; then
printf "\n"
Expand Down

0 comments on commit b984fb9

Please sign in to comment.