Skip to content

Commit

Permalink
Fix conditionals
Browse files Browse the repository at this point in the history
  • Loading branch information
varadarajan-tw committed Oct 13, 2023
1 parent 2309183 commit e455179
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit e455179

Please sign in to comment.