flixel-docs icon indicating copy to clipboard operation
flixel-docs copied to clipboard

Github Action that triggers `repository_dispatch` on haxeflixel/haxeflixel.com repo

Open ninjamuffin99 opened this issue 1 year ago • 2 comments

Right now, the flixel-docs only go live only once the master branch on haxeflixel/haxeflixel.com repo gets either a push, a workflow_dispatch, or a repository_dispatch trigger event. repository_dispatch is something that we can call from outside of that repo via Octokit, so we can use that to build to the site with new documentation whenever a push gets made here, to have more LIVE documentation changes

ninjamuffin99 avatar Jan 29 '24 19:01 ninjamuffin99

should we close this, now?

Geokureli avatar Feb 02 '24 21:02 Geokureli

this actually didn't work properly, I believe what's needed is some sort of Github token, since the default one provided via github actions{{ github.token }} doesn't give permissions to run other workflows! even with

permissions:
  contents: write
  actions: write

or anything like that

ninjamuffin99 avatar Feb 02 '24 21:02 ninjamuffin99