jvroo commited on
Commit
6b51b6d
·
unverified ·
1 Parent(s): 764db7d

Update discord_notification.yml

Browse files
.github/workflows/discord_notification.yml CHANGED
@@ -1,15 +1,17 @@
1
  name: Discord Notification
2
  on:
3
- push:
4
- branches: [main]
5
 
6
  jobs:
7
  notify:
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
 
 
 
1
  name: Discord Notification
2
  on:
3
+ push:
4
+ branches: [main]
5
 
6
  jobs:
7
  notify:
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" \
16
+ -d "{\"content\": \"A new commit was pushed to the main branch by $GITHUB_ACTOR. 😄 CS553_CaseStudy_Group 11 rock!\"}" \
17
+ $DISCORD_WEBHOOK_URL