Skip to content
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

Github Action that triggers repository_dispatch on haxeflixel/haxeflixel.com repo #275

Open
ninjamuffin99 opened this issue Jan 29, 2024 · 2 comments

Comments

@ninjamuffin99
Copy link
Member

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

@Geokureli
Copy link
Member

should we close this, now?

@ninjamuffin99
Copy link
Member Author

ninjamuffin99 commented Feb 2, 2024

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

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

No branches or pull requests

2 participants