Skip to content

Instantly share code, notes, and snippets.

@croaky
Last active May 4, 2022 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save croaky/dd458135d90351521b80303b4de91f94 to your computer and use it in GitHub Desktop.
Save croaky/dd458135d90351521b80303b4de91f94 to your computer and use it in GitHub Desktop.
APIError: GitHub event 'schedule' is not supported.

I set up my static site to build with GitHub Actions and then deploy to Deno Deploy.

The workflow file is here:

https://github.com/croaky/blog/blob/main/.github/workflows/deno.yml

This is working great! The site is live at:

https://dancroak.com/

However, each article has a date. I'd like GitHub Action to publish nightly all articles with todays date >= article date.

So, I have a copy of the workflow file that runs using GitHub Actions' schedule / cron interface:

The GitHub Action did run, but it looks like Deno Deploy raised an error?

Error: APIError: GitHub event 'schedule' is not supported.

https://github.com/croaky/blog/runs/6282315380?check_suite_focus=true

Is it possible Deno Deploy needs to have knowledge of the GitHub event schedule?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment