From e72946faedb8b4b8c612d67965d826a8b06588c4 Mon Sep 17 00:00:00 2001 From: Georgii Karataev Date: Mon, 21 Nov 2022 11:19:22 +0100 Subject: [PATCH] Change conditions for deploy and release CI stages 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. --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index be02d1bf..bdbe907e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: