Skip to content

Commit

Permalink
chore(travis): exclude the Release stage for all branches except master
Browse files Browse the repository at this point in the history
This enhances Travis CI and leaves the Release stage only for the master branch (releases are made only while CI works on the master branch, thus, this stage is unnecessary for other branches).
  • Loading branch information
gkarat authored Mar 24, 2022
1 parent e53872f commit 5f263ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
if: type = push AND fork = false
script: npm run build && curl -sSL https://raw.githubusercontent.com/RedHatInsights/insights-frontend-builder-common/master/src/bootstrap.sh | bash -s
- stage: Release
if: type = push AND fork = false
if: type = push AND fork = false AND branch = master
script: npm run release
env:
global:
Expand Down

0 comments on commit 5f263ce

Please sign in to comment.