Skip to content

Commit 28e863d

Browse files
Update firebase-deploy.yml
1 parent 74bfdb3 commit 28e863d

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

.github/workflows/firebase-deploy.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -55,29 +55,29 @@ jobs:
5555
env:
5656
FIREBASE_CLI_PREVIEWS: hostingchannels
5757

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
6666

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+
# )
7777

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

Comments
 (0)