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 #173 from Financial-Times/features/spin-down-maste…
Browse files Browse the repository at this point in the history
…r-builds

Destroy review app if it passes tests on the master branch 🐿 v2.11.0
  • Loading branch information
taktran authored Feb 11, 2019
2 parents 3ff1cc1 + e297f91 commit 966a022
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tasks/review-app.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ test-review-ap%: # test-review-app: create and test a review app on heroku. To o
$(MAKE) gtg-review-app
TEST_URL="http://$$(cat $(REVIEW_APP_FILE)).herokuapp.com" \
$(MAKE) smoke a11y
# Destroy review app if it passes tests on the master branch
ifeq ($(CIRCLE_BRANCH),master)
heroku destroy -a $$(cat $(REVIEW_APP_FILE)) --confirm $$(cat $(REVIEW_APP_FILE))
endif
@$(DONE)

0 comments on commit 966a022

Please sign in to comment.