Skip to content

Commit

Permalink
Change conditions for deploy and release CI stages
Browse files Browse the repository at this point in the history
This removes `type = push` from `if` statement for Deploy and Release
Travis CI stages. This is needed to run these steps if the build was
triggered manually from Travis UI.
  • Loading branch information
gkarat committed Nov 21, 2022
1 parent 71132fe commit e72946f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
- stage: Lint
script: npm run lint
- stage: Deploy
if: type = push AND fork = false
if: 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: fork = false
script: npm run release
env:
global:
Expand Down

0 comments on commit e72946f

Please sign in to comment.