-
Notifications
You must be signed in to change notification settings - Fork 62
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
Support secrets.GITHUB_TOKEN #27
Comments
Yes. Something like |
I have switched to peaceiris/actions-gh-pages. It is not as specialized as |
You can do it just with
|
Just leaving a quick comment on why/how this works: https://docs.github.com/es/developers/apps/building-github-apps/authenticating-with-github-apps#http-based-git-access-by-an-installation Nice trick @sergiomcalzada |
If you are deploying to a
gh-pages
branch of the current repo, you should be able to usesecrets.GITHUB_TOKEN
instead of needing a deploy key at all. This would then work the same as all the other github-pages deployment actions, e.g. https://github.com/peaceiris/actions-gh-pages#github-actions-for-github-pages.This would massively reduce the setup time for using this, since
GITHUB_TOKEN
exists by default, whereas creating an access token is a bit of a pain.The text was updated successfully, but these errors were encountered: