From 2e65417dc2d71623e13d4961a95893677a29d743 Mon Sep 17 00:00:00 2001 From: Athanasios Voutsadakis Date: Tue, 31 Oct 2017 16:51:49 +0000 Subject: [PATCH] Explicitly target environment on cf-push --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index aac64e7c4..732d669a4 100644 --- a/Makefile +++ b/Makefile @@ -304,6 +304,7 @@ cf-rollback: ## Rollbacks the app to the previous release .PHONY: cf-push cf-push: $(if ${CF_APP},,$(error Must specify CF_APP)) + cf target -o ${CF_ORG} -s ${CF_SPACE} cf push ${CF_APP} -f ${CF_MANIFEST_FILE} .PHONY: check-if-migrations-to-run