From 2552d1dc00bf7c6481e8d3a2ad1ac9b178c4fba6 Mon Sep 17 00:00:00 2001 From: Rahul Biju Date: Thu, 30 May 2024 10:51:31 +0530 Subject: [PATCH] Update build.yaml --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 2b664890f..87a4a3abf 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -84,7 +84,7 @@ jobs: - name: 'Slack Notification' run: | STATUS=$([[ ${{ needs.build.result }} == "success" ]] && echo "succeeded" || echo "failed") - curl -X POST -H 'Content-type: application/json' --data "{\"text\": \"Workflow ${{ github.workflow }} triggered by branch ${{ github.ref }}. PR: ${{ github.event.pull_request.html_url || 'N/A' }}. Build results: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}. Status: $STATUS\"}" $SLACK_WEBHOOK_URL + curl -X POST -H 'Content-type: application/json' --data "{\"text\": \"Workflow ${{ github.workflow }} triggered by branch ${{ github.ref }}. Build results: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}. Status: $STATUS\"}" $SLACK_WEBHOOK_URL env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} shell: bash