From 6efbb7c3667cf7c8dfe318277342cf68d49f80b5 Mon Sep 17 00:00:00 2001 From: Sanny Nguyen Hung Date: Fri, 13 Oct 2023 15:19:56 +0200 Subject: [PATCH] Update expression --- .github/workflows/testing-ci-pipeline.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/testing-ci-pipeline.yml b/.github/workflows/testing-ci-pipeline.yml index 6d29ab32..6c6ca00f 100644 --- a/.github/workflows/testing-ci-pipeline.yml +++ b/.github/workflows/testing-ci-pipeline.yml @@ -35,7 +35,7 @@ jobs: build-push-image: needs: [test-app] - if: github.ref == 'refs/heads/main' + if: github.ref != 'refs/heads/main' runs-on: ubuntu-latest timeout-minutes: 10 permissions: @@ -80,7 +80,7 @@ jobs: deploy: needs: [build-push-image] - if: github.ref !== 'refs/heads/main' + if: github.ref != 'refs/heads/main' runs-on: ubuntu-latest timeout-minutes: 10 permissions: