Spaces:
Sleeping
Sleeping
Comment out discord-notification.yml for testing
Browse files
.github/workflows/discord-notification.yml
CHANGED
|
@@ -1,19 +1,19 @@
|
|
| 1 |
-
name: Discord Notification
|
| 2 |
|
| 3 |
-
on:
|
| 4 |
-
push:
|
| 5 |
-
branches: [main]
|
| 6 |
|
| 7 |
-
jobs:
|
| 8 |
-
notify:
|
| 9 |
-
runs-on: ubuntu-latest
|
| 10 |
|
| 11 |
-
steps:
|
| 12 |
-
- name: Send Discord notification
|
| 13 |
-
env:
|
| 14 |
-
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
| 15 |
-
run: |
|
| 16 |
-
curl -X POST -H "Content-Type: application/json" \
|
| 17 |
-
-d "{\"content\": \"This is running from discord-notification.yml, which runs every push to main. A new commit was pushed to the main branch by $GITHUB_ACTOR. :smile: Ponytails rock!\"}" \
|
| 18 |
$DISCORD_WEBHOOK_URL
|
| 19 |
|
|
|
|
| 1 |
+
#name: Discord Notification
|
| 2 |
|
| 3 |
+
#on:
|
| 4 |
+
# push:
|
| 5 |
+
# branches: [main]
|
| 6 |
|
| 7 |
+
#jobs:
|
| 8 |
+
# notify:
|
| 9 |
+
# runs-on: ubuntu-latest
|
| 10 |
|
| 11 |
+
# steps:
|
| 12 |
+
# - name: Send Discord notification
|
| 13 |
+
# env:
|
| 14 |
+
# DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
|
| 15 |
+
# run: |
|
| 16 |
+
# curl -X POST -H "Content-Type: application/json" \
|
| 17 |
+
# -d "{\"content\": \"This is running from discord-notification.yml, which runs every push to main. A new commit was pushed to the main branch by $GITHUB_ACTOR. :smile: Ponytails rock!\"}" \
|
| 18 |
$DISCORD_WEBHOOK_URL
|
| 19 |
|