-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
π 10/21 @ 10:00am PT - Automating gr2m/helpdesk: Twitch Events #52
Comments
Going live in 30 minutes at https://twitch.tv/gregorcodes |
I'm now live on https://twitch.tv/gregorcodes |
Show is done for today, thank you all! Recording is coming up in a moment |
Recording is now live, I've also updated the shownotes Regarding the "Handle show done" workflow, that used the "issues.closed" trigger and is now using the "twitch.stream.offline" event: it didn't work π€·πΌ The reason is that the payload the |
ππ» Automating gr2m/helpdesk: Twitch Events
π Thursday, October 21, 2021
π 10:00am Pacific Time
ποΈ no guests
π https://www.twitch.tv/gregorcodes
π·οΈ automation
Subscribe to this issues to get a notification before the show begins and a summary after the show concludes.
Automating gr2m/helpdesk: π 10/21 @ 10:00am PT - Automating gr2m/helpdesk: Twitch Events
Instead of using a schedule-based trigger for when a show starts, I'll start using webhooks sent from Twitch itself, whenever I start a stream.
Outline
handle-twitch-events-using-github-actions
with a Netlify Function that responds to/.netlify/functions/ping
POST /.netlify/functions/twitch
and create repository dispatch eventsBonus
gr2m/helpdesk
repository, rreplace the current schedule trigger for the Handle show start workflow with the custom trigger when the webhook is receivedissues.closed
trigger for the Handle show done workflow with the custom trigger when the webhook is received. Close the show issueTODOs
Before the show
I already setup the Netlify function and the twitch subscription in the
gr2m/helpdesk
. I'll prepare the pieces so we can create a new repository from scratch step-by-step.(https://twitter.com/gr2m/status/1451227071120818183)
(π 10/21 @ 10:00am PT - Automating gr2m/helpdesk: Twitch EventsΒ #52 (comment))
When show begins
(https://twitter.com/gr2m/status/1451233334537895937)
(π 10/21 @ 10:00am PT - Automating gr2m/helpdesk: Twitch EventsΒ #52 (comment))
(https://twitter.com/gr2m)
After the show
(https://twitter.com/gr2m)
Recording
Shownotes
I used
netlify dev
to start a local server,netlify dev --live
to start a local server with an http tunnel, so it's reachable by others, andnetlify init
to setup continuous deployment for the demo repository using Netlify-F
is the URL the simulated webhook request should be sent to.-s
is the secret you defined when you created the subscription.-t
is your account ID.The text was updated successfully, but these errors were encountered: