Spaces:
Sleeping
Sleeping
jvroo
commited on
Update discord_notification.yml
Browse files
.github/workflows/discord_notification.yml
CHANGED
|
@@ -8,8 +8,8 @@ jobs:
|
|
| 8 |
runs-on: ubuntu-latest
|
| 9 |
|
| 10 |
steps:
|
| 11 |
-
-name: Send Discord notification
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
| 8 |
runs-on: ubuntu-latest
|
| 9 |
|
| 10 |
steps:
|
| 11 |
+
-name: Send Discord notification
|
| 12 |
+
env:
|
| 13 |
+
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK }}
|
| 14 |
+
run:
|
| 15 |
+
curl -X POST -H "Content-Type: application/json" \-d "{"content": "A new commit was pushed to the main branch by $GITHUB_ACTOR. 😄 CS553_CaseStudy_Group 11 rock!"}" \$DISCORD_WEBHOOK
|