Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #252 from Financial-Times/default-branch-is-main
Browse files Browse the repository at this point in the history
push to HEAD branch
  • Loading branch information
jenniferemshepherd authored Jan 19, 2021
2 parents fcab2a6 + 3dcd1c3 commit 0615037
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/tasks/deploy.mk
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ deploy-canary: ## deploy-canary: Deploy canary app to staging
nht configure $(VAULT_NAME) $(HEROKU_APP_STAGING)

@echo "Deploying app to $(HEROKU_APP_STAGING)"
@git push https://git.heroku.com/$(HEROKU_APP_STAGING).git master
@git push https://git.heroku.com/$(HEROKU_APP_STAGING).git HEAD

heroku dyno:scale web=1 -a $(HEROKU_APP_STAGING)

Expand Down Expand Up @@ -86,7 +86,7 @@ deploy-staging: ## deploy-staging: Deploy the app to staging
nht configure $(VAULT_NAME) $(HEROKU_APP_STAGING)

@echo "Deploying app to $(HEROKU_APP_STAGING)"
@git push https://git.heroku.com/$(HEROKU_APP_STAGING).git master
@git push https://git.heroku.com/$(HEROKU_APP_STAGING).git HEAD

heroku dyno:scale web=1 -a $(HEROKU_APP_STAGING)

Expand Down
4 changes: 2 additions & 2 deletions src/tasks/review-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ test-review-ap%: ## test-review-app: Create and test a review app on heroku
$(MAKE) gtg-review-app
TEST_URL="https://$$(cat $(REVIEW_APP_FILE)).herokuapp.com" \
$(MAKE) smoke a11y
# Destroy review app if it passes tests on the master branch
ifeq ($(CIRCLE_BRANCH),master)
# Destroy review app if it passes tests on the HEAD branch
ifeq ($(CIRCLE_BRANCH),HEAD)
heroku destroy -a $$(cat $(REVIEW_APP_FILE)) --confirm $$(cat $(REVIEW_APP_FILE))
endif
@$(DONE)

0 comments on commit 0615037

Please sign in to comment.