Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit dc169c4

Browse files
committed
chore: updated vars on prod workflow
1 parent 9c1348d commit dc169c4

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/release_production.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,13 @@ jobs:
5757
uses: technote-space/workflow-conclusion-action@45ce8e0eb155657ab8ccf346ade734257fd196a5
5858
- name: Create Slack Message
5959
id: create_slack_message
60+
env:
61+
WORKFLOW_CONCLUSION: ${{ env.WORKFLOW_CONCLUSION }}
6062
run: |
61-
if [ "${{ env.WORKFLOW_CONCLUSION }}" == "success" ]; then
62-
echo "MESSAGE=${{ env.RELEASE_TYPE }} Release succeeded for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_OUTPUT
63+
if [ "$WORKFLOW_CONCLUSION" == "success" ]; then
64+
echo "MESSAGE=$RELEASE_TYPE Release succeeded for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_OUTPUT
6365
else
64-
echo "MESSAGE=${{ env.RELEASE_TYPE }} Release failed for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_OUTPUT
66+
echo "MESSAGE=$RELEASE_TYPE Release failed for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_OUTPUT
6567
fi
6668
- name: Send Slack Notification
6769
uses: ./.github/actions/notify_slack

0 commit comments

Comments
 (0)