Skip to content

Commit 22f1cc5

Browse files
committed
testing after adding yaml file
1 parent 4a41a28 commit 22f1cc5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/discord.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ jobs:
1616
# Use \n inside the string; jq will escape correctly
1717
echo "MSG=✅ Push to **${REPO}** on **${BRANCH}** by **${ACTOR}**\n${URL}" >> $GITHUB_ENV
1818
19+
# 🔎 DEBUG STEP (insert here)
20+
- name: Minimal test to Discord
21+
env:
22+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
23+
run: |
24+
echo "Testing webhook with a simple message..."
25+
curl -i -H "Content-Type: application/json" \
26+
-d '{"content":"Hello from GitHub Actions 👋"}' \
27+
"$DISCORD_WEBHOOK"
28+
1929
- name: Send to Discord
2030
env:
2131
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}

0 commit comments

Comments
 (0)