Skip to content

Conversation

marko-bekhta
Copy link
Contributor

Hey 👋🏻 😃

As I could only find APIs that require a key/token to make requests to YouTube (to find a link for a streamed video), I thought that adding some JS on the page to pull the data wouldn't fly 😃. And instead, here's a workflow that will run hourly on Mondays, polling the YouTube api to see if a video with the "next #" can be found, and if so, open a pull request to update the data file. I didn't want to go with the option to push directly to the branch, as I thought it would be best to run this for some time to make sure it applies the changes correctly.

Script requires an API token. Probably best to create a dedicated YouTube user for that. Als,o a better git user/email would be needed if we go with this 😃.

And here's an example of a PR it should open:

with yq so following updates won't cause "big changes"
Copy link

github-actions bot commented Sep 29, 2025

🎊 PR Preview 0feadcf has been successfully built and deployed to https://quarkus-site-pr-2423-preview.surge.sh

  • Images of blog posts older than 3 months are not available.
  • Newsletters older than 3 months are not available.

@marko-bekhta marko-bekhta force-pushed the build/add-insights-update-workflow-pr branch from 0b3e1f7 to a3024a8 Compare September 29, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ensure past-present status for Quarkus Insights episodes is always correct

1 participant