Skip to content

Commit

Permalink
[DUOS-379][risk=no] Trigger production deploy on production tag (#192)
Browse files Browse the repository at this point in the history
* trigger prod deploy on production tag
  • Loading branch information
rushtong authored Aug 26, 2019
1 parent 3a9416e commit d9c7af8
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,15 @@ jobs:
google_cluster: 'duos-ui-staging-cluster'
commit: ${COMMIT}

deploy-production:
executor: cloud-sdk
steps:
- checkout
- run:
name: Call remote deploy job
command: |
curl -X POST https://circleci.com/api/v1.1/project/gh/broadinstitute/duos-deploy/tree/master?circle-token=${USER_TOKEN}
workflows:
version: 2
build-deploy:
Expand Down Expand Up @@ -252,3 +261,9 @@ workflows:
only: /^staging.*/
branches:
ignore: /.*/
- deploy-production:
filters:
tags:
only: /^production.*/
branches:
ignore: /.*/

0 comments on commit d9c7af8

Please sign in to comment.