Skip to content

Commit

Permalink
removing extra terminus build:env:delete (#46)
Browse files Browse the repository at this point in the history
* removing extra terminus env:delete

* Update @orb.yml
  • Loading branch information
stevector authored Jun 11, 2020
1 parent 863ce8e commit cc65269
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/@orb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,16 +178,6 @@ jobs:
# This command will commit any changed files and push to Pantheon.
# New multidevs will be created as necessary.
terminus -n build:env:create "$TERMINUS_SITE.<< parameters.terminus_clone_env >>" "$TERMINUS_ENV" --yes $CLONE_CONTENT --message="CI: $COMMIT_MSG"
- run:
name: Delete Multidev environments made for now-closed pull requests
command: |
# Because this step is slow it should be run more than necessary.
if [[ $CI_BRANCH != "master" ]] ; then
exit 0
fi
# Delete old multidev environments associated with a PR that has been
# merged or closed.
terminus -n build:env:delete:pr "$TERMINUS_SITE" --yes
# @todo, Check back with CircleCI DevRel team. They mentioned possibly
# adding a CircleCI-maintained Orb step to do this concept.
- run:
Expand Down

0 comments on commit cc65269

Please sign in to comment.