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

Use GITHUB_TOKEN to deploy from public repositories once possible #114

Open
gomorizsolt opened this issue Apr 22, 2020 · 0 comments
Open

Comments

@gomorizsolt
Copy link
Collaborator

gomorizsolt commented Apr 22, 2020

Follow-up: https://github.community/t5/GitHub-Actions/Github-action-not-triggering-gh-pages-upon-push/m-p/31266/highlight/true#M743

Private repositories can use the GITHUB_TOKEN secret to deploy to GitHub Pages. In the case of public repositories, however, server-to-server requests do not kick off a page build because GITHUB_TOKEN does not have authorization to create any successive events. Therefore, opting for a different authorization method is a must in this case to spawn a page build. Our recommendation, and because it's how the deployment workflow is set up, is generating a deployment key for this specific use-case.

@thisismydesign thisismydesign changed the title Using GITHUB_TOKEN to deploy from public repositories Use GITHUB_TOKEN to deploy from public repositories once possible Apr 22, 2020
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

1 participant