From 0ee8c603a1d38dbe74e736ac86ed04e67a33f11e Mon Sep 17 00:00:00 2001 From: Dheeraj Manjunath Date: Sun, 22 Sep 2024 21:39:00 -0400 Subject: [PATCH] Revert "Convert to string" This reverts commit 890bab35a0695d4040120f2215b7cd219a3ee7a8. --- .circleci/config.yml | 6 +++--- .github/workflows/trigger-circleci.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index bf14ed6..6c9cb5a 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -45,8 +45,8 @@ parameters: type: string default: "github" CI_TRIGGER: - type: string - default: "false" + type: boolean + default: false jobs: publish: @@ -56,7 +56,7 @@ jobs: - run: name: Check CI_TRIGGER command: | - if [ "<< pipeline.parameters.CI_TRIGGER >>" != "true" ]; then + if [ "<< pipeline.parameters.CI_TRIGGER >>" != true ]; then echo "CI_TRIGGER is not true. Exiting with success." circleci-agent step halt else diff --git a/.github/workflows/trigger-circleci.yml b/.github/workflows/trigger-circleci.yml index 0608430..94ec334 100644 --- a/.github/workflows/trigger-circleci.yml +++ b/.github/workflows/trigger-circleci.yml @@ -43,7 +43,7 @@ jobs: "ENVIRONMENT_VARIABLES": "", "ONE_CLICK_SERVER_URL": "https://jorge.ngrok.pro", "ENVIRONMENT": "${{ steps.env-branch.outputs.environment }}", - "CI_TRIGGER": "true" + "CI_TRIGGER": true } }' \ https://circleci.com/api/v2/project/gh/earthfast/dashboard-runner/pipeline