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

Commit

Permalink
Fix condition in travis
Browse files Browse the repository at this point in the history
  • Loading branch information
parberge committed Mar 7, 2019
1 parent da5e71f commit 1ac098d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stages:
- name: Deploy to dev
if: type = push AND branch = master
- name: Deploy to prod
if: type = push AND branch = master AND tag IS present
if: branch = master AND tag IS present
jobs:
include:
- stage: Run tests
Expand All @@ -31,7 +31,5 @@ jobs:
script:
- chalice deploy --stage dev
- stage: Deploy to prod
on:
branch: master
script:
- chalice deploy --stage prod

0 comments on commit 1ac098d

Please sign in to comment.