diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index dd1ea538..c7d711e4 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -58,11 +58,9 @@ jobs: id: create_slack_message run: | if [ "${{ env.WORKFLOW_CONCLUSION }}" == "success" ]; then - echo "MESSAGE=${{ env.RELEASE_TYPE }} Release succeeded for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_ENV - elif ["${{ env.WORKFLOW_CONCLUSION }}" == "failure"]; then - echo "MESSAGE=${{ env.RELEASE_TYPE }} Release failed for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_ENV + echo "MESSAGE=${{ env.RELEASE_TYPE }} Release succeeded for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_OUTPUT else - echo "MESSAGE=Unkown outcome" >> $GITHUB_ENV + echo "MESSAGE=${{ env.RELEASE_TYPE }} Release failed for api.deriv.com with version *${{ needs.build_and_publish.outputs.RELEASE_VERSION }}*" >> $GITHUB_OUTPUT fi - name: Send Slack Notification uses: ./.github/actions/notify_slack