Skip to content

Commit

Permalink
travis fixes for heroku prod deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rrmerugu committed Jul 28, 2020
1 parent 6fe1e82 commit 35614d6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
app: graph-explorer
api_key: $HEROKU_AUTH_TOKEN
on:
tags: true
all_branches: true
- stage: test edge deployemnt
script: 'curl http://graph-explorer-edge.herokuapp.com'
Expand All @@ -42,8 +43,8 @@ stages:
- name: test edge deployemnt
if: branch = develop AND type != pull_request
- name: deploy to heroku
if: branch = master AND tag IS present AND type != pull_request
if: tag IS present AND type != pull_request
- name: test prod deployemnt
if: branch = master AND tag IS present AND type != pull_request
if: tag IS present AND type != pull_request
- name: build and push docker image
if: branch = master AND tag IS present AND type != pull_request
if: tag IS present AND type != pull_request

0 comments on commit 35614d6

Please sign in to comment.