Commit a5e52ad3 authored by Rémy Coutable's avatar Rémy Coutable 🏖

Merge branch 'fix-deploy' into 'master'

Fix deploy script

See merge request !3
parents aadbb7fc 8a1f1295
......@@ -36,8 +36,8 @@ test:
- mix test
variables:
APPNAME_PRODUCTION: i-love
APPNAME_STAGING: i-love-staging
APPNAME_PRODUCTION: i-love-api
APPNAME_STAGING: i-love-api-staging
deploy_to_staging:
<<: *before_script_deploy
......@@ -51,7 +51,6 @@ deploy_to_staging:
- heroku pg:backups:capture --app $APPNAME_PRODUCTION
- heroku pg:backups:restore `heroku pg:backups:url --app $APPNAME_PRODUCTION` --app $APPNAME_STAGING --confirm $APPNAME_STAGING
- heroku run mix exto.migrate --app $APPNAME_STAGING
when: manual
only:
- master
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment