@@ -55,29 +55,29 @@ jobs:
55
55
env :
56
56
FIREBASE_CLI_PREVIEWS : hostingchannels
57
57
58
- - name : Send Discord notification on success or failure
59
- if : always()
60
- run : |
61
- if [ "${{ job.status }}" == "success" ]; then
62
- STATUS=":white_check_mark: Build succeeded!"
63
- else
64
- STATUS=":x: Build failed!"
65
- fi
58
+ # - name: Send Discord notification on success or failure
59
+ # if: always()
60
+ # run: |
61
+ # if [ "${{ job.status }}" == "success" ]; then
62
+ # STATUS=":white_check_mark: Build succeeded!"
63
+ # else
64
+ # STATUS=":x: Build failed!"
65
+ # fi
66
66
67
- PAYLOAD=$(jq -n \
68
- --arg status "$STATUS" \
69
- --arg repository "${{ github.repository }}" \
70
- --arg ref_name "${{ github.ref_name }}" \
71
- --arg workflow "${{ github.workflow }}" \
72
- --arg sha "${{ github.sha }}" \
73
- '{
74
- content: "\($status)\nRepository: **\($repository)**\nBranch: **\($ref_name)**\nPipeline: **\($workflow)**\nCommit: `\($sha)`"
75
- }'
76
- )
67
+ # PAYLOAD=$(jq -n \
68
+ # --arg status "$STATUS" \
69
+ # --arg repository "${{ github.repository }}" \
70
+ # --arg ref_name "${{ github.ref_name }}" \
71
+ # --arg workflow "${{ github.workflow }}" \
72
+ # --arg sha "${{ github.sha }}" \
73
+ # '{
74
+ # content: "\($status)\nRepository: **\($repository)**\nBranch: **\($ref_name)**\nPipeline: **\($workflow)**\nCommit: `\($sha)`"
75
+ # }'
76
+ # )
77
77
78
- curl -H "Content-Type: application/json" \
79
- -X POST \
80
- -d "$PAYLOAD" \
81
- "${{ secrets.DISCORD_WEBHOOK }}"
82
- env :
83
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
78
+ # curl -H "Content-Type: application/json" \
79
+ # -X POST \
80
+ # -d "$PAYLOAD" \
81
+ # "${{ secrets.DISCORD_WEBHOOK }}"
82
+ # env:
83
+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments