Also unbind notify-config and notify-aws

This commit is contained in:
Athanasios Voutsadakis
2017-10-02 16:25:49 +01:00
parent 912728713a
commit 2c590acff5

View File

@@ -284,6 +284,8 @@ cf-deploy: ## Deploys the app to Cloud Foundry
cf-deploy-api-db-migration:
$(if ${CF_SPACE},,$(error Must specify CF_SPACE))
cf unbind-service notify-api-db-migration notify-db
cf unbind-service notify-api-db-migration notify-config
cf unbind-service notify-api-db-migration notify-aws
cf push notify-api-db-migration -f manifest-api-${CF_SPACE}.yml
cf run-task notify-api-db-migration "python db.py db upgrade" --name api_db_migration