Skip to content

Commit

Permalink
Use DATABASE_DESTROY variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Domonkos Czinke committed Jun 27, 2016
1 parent 466dfa5 commit f71dd1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/shop-new
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ echo "-----> Deploy application"
git remote add dokku dokku@"${DOKKU_HOST}":"${APP}"
git push dokku "${REVISION}":master

DATABASE_DESTROY=$(dokku config:get "${APP}" DATABASE_DESTROY)
if [ -z ${DATABASE_DESTROY+x} ] || [ "${DATABASE_DESTROY}" = true ]; then
echo "-----> Import to MySQL database"
COUNTRY_CODE=$(dokku config:get "${APP}" SHOP_NEW_COUNTRY_CODE)
Expand Down

0 comments on commit f71dd1b

Please sign in to comment.