-
Notifications
You must be signed in to change notification settings - Fork 8
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 staticman v3 api scheme and GitHub App authorization method #483
Comments
@VincentTam - Thank you for submitting these four issues on my jekyll/gh-pages web site. Before attempting to do these I have a question about updating Staticman. I'm successfully using Staticman v2 as a bot at Heroku. You are suggesting I move to v3 and make it a private "app" instead of a bot. I'm not super clear on the steps. My memory says I set it up with the "dev" version about a year ago.
I have other uncertainties about modifying my comment and changing the post method to xmlHttpRequest. I reviewed your PR daattali/beautiful-jekyll#782 to see if I could read the code. It is recognizable but different than my form processing javascript (main.js). But I will ask about that another time. |
If you find the official tutorial unclear, you may try my illustrated guide. However, I didn't think about updating an existing API instance when I wrote that.
For further questions about the back-end setup, you may ask them in the GitHub repo of Staticman. In this way, you receive feedback from other fellow Staticman users. For theme/site-specific issues related to Staticman, for example,
it's better asked in the theme/site's Git* repo, as the parameters vary from theme to theme. The above questions concern only Staticman's deployment, so they're better asked in the GitHub repo of Staticman. It is technically possible that several projects across different users on both GitHub and GitLab use the same API instance.
You may adapt it to your needs. More precisely, you may change the body (and the name) of the functions |
Description
You're current using Staticman v2.
willymcallister.github.io/_config.yml
Line 46 in 8000cd5
Staticman's updated official quick start guide shows the latest API scheme:
For example
The use of a private GitHub App is preferred over a GitHub bot, which can be invited by any GitHub user. Despite the possibility to close the
v2/connect
route, setting up Staticman v3 with GitHub App according to the official quick start guide should be easier. GitHub App is more resistant to the rate API limit problem (c.f. eduardoboucas/staticman#222 & eduardoboucas/staticman#227). By making your own GitHub App private, you can prevent others from using it.The text was updated successfully, but these errors were encountered: