Skip to content

Commit

Permalink
Convert to string
Browse files Browse the repository at this point in the history
  • Loading branch information
dmanjunath committed Sep 23, 2024
1 parent d33bc3c commit 890bab3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ parameters:
type: string
default: "github"
CI_TRIGGER:
type: boolean
default: false
type: string
default: "false"

jobs:
publish:
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-circleci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 890bab3

Please sign in to comment.