Skip to content

Commit

Permalink
fix if condition in buildkite step
Browse files Browse the repository at this point in the history
  • Loading branch information
varadarajan-tw committed Oct 17, 2023
1 parent 736af13 commit 1a2a574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
--data '{"commit":"HEAD","branch":"ci-test", "message": ":github: Triggered from Github Actions Run: ${{ github.run_id }}","env":{
"BRANCH_TO_UPDATE": "${{ github.ref_name }}", "ACTIONS_RELEASE": "true", "CREATE_PR": "true", "UPGRADE_ACTION_DESTINATIONS": "true", "ACTION_DESTINATIONS_VERSION": "${{ env.ACTION_DESTINATIONS_VERSION }}", "ACTIONS_CORE_VERSION": "${{ env.ACTIONS_CORE_VERSION }}", "ACTIONS_RUN_ID": "${{ github.run_id }}" },"meta_data":{}}')
BUILDKITE_URL=$(echo $result | jq -r '.web_url')
if [[ "${BUILDKITE_URL}" -eq null ]]; then
if [[ "${BUILDKITE_URL}" = "null" ]]; then
echo "Failed to trigger Buildkite pipeline. Reason:$(echo $result | jq -r '.message')"
exit 1
else
Expand Down

0 comments on commit 1a2a574

Please sign in to comment.