diff --git a/.github/workflows/publish-canary.yml b/.github/workflows/publish-canary.yml index 8bae32169b5..46d91977f10 100644 --- a/.github/workflows/publish-canary.yml +++ b/.github/workflows/publish-canary.yml @@ -71,9 +71,8 @@ jobs: --data '{"commit":"HEAD","branch":"ci-test",":github: Update action destination version with action-destinations-${{ env.PACKAGE_VERSION }}-${{ env.SHORT_SHA }}","env":{ "ACTIONS_BRANCH": "${{ github.ref_name }}", "TRIGGERED_FROM_GHA": "true", "ACTION_DESTINATION_ARTIFACT": "action-destinations-${{ env.PACKAGE_VERSION }}-${{ env.SHORT_SHA }}.tgz", "ACTIONS_RUN_ID": "${{ github.run_id }}" },"meta_data":{}}') BUILDKITE_URL=$(echo $result | jq -r '.web_url') - if [[ -z "$BUILDKITE_URL"]] - then - exit 1 - else - echo "Build triggered successfuly - ${BUILDKITE_URL}" + if [[ -z "$BUILDKITE_URL" ]]; then + exit 1 + else + echo "Build triggered successfully - ${BUILDKITE_URL}" fi