Add logging on FOODSOFT_SERVICE
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-11-08 17:43:12 +01:00
parent 1ae02b81c4
commit 1f4dfd810c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ file_env() {
file_env "SECRET_KEY_BASE"
file_env "SMTP_PASSWORD"
echo "------------------------------------------------------------------------------"
echo "Running entrypoint commands against '$FOODSOFT_SERVICE' service"
echo "------------------------------------------------------------------------------"
if [ "$FOODSOFT_SERVICE" == "app" ]; then
bundle exec rake db:setup
bundle exec rake db:migrate