Spaces:
Sleeping
Sleeping
File size: 982 Bytes
ba9312a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
## Messaging team when the GitHub action completes (extra credit)
We chose Discord as our message system.
First, we created a new text-channel (labeled **#github-actions**) and set up a Webhook.
![image](img/set-up-webhook-discord.png)
With the Webhook URL ready, we added it to our case study 1 repository.
(here, we use a different method than the in-class demo)
We navigated to the "**Settings**" tab in GitHub case study 1 repo, then went to "**Webhooks**" section on the left. We clicked the "**Add webhook**" button in the upper right corner.
![image](img/github-add-webhook.png)
To ensure proper message formatting, we appended “**/github**” to the end of the URL. We set the content type as “**application/json**” and configured it to send us all notifications.
![image](img/github-config-discord-webhook.png)
After testing, we found that it worked seamlessly, and we all enjoyed the convenience it provided!
![image](img/discord-integration-result.png) |