It’s probably pretty obvious, but I can’t just find anything about; how do I trigger a workflow from a URL? Trying to build and deploy a static site (which gets its content from a CMS which can trigger webhooks) but I can’t find about how to trigger the workflow from outside.
Edit: Seems like it’s https://help.github.com/en/articles/events-that-trigger-workflows#external-events-repository_dispatch - but I’m not entirely sure about that.
Edit 2: So here’s what I did so far:
- created a personal access token
- added the repository_dispatch to my workflow triggers
- tried to cURL to https://api.github.com/repos/<name>/<repo>/dispatches - but it returned 404