staticman: "Application error" when trying to connect a new repository
I try to connect Staticman to my repository (Step 1 of “Getting Started”) but it fails with an error from Heroku.
Here is the URL I call : https://api.staticman.net/v2/connect/Ryfacto/academie.ryfacto.fr.
And the response :
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8">
<title>Application Error</title>
<style media="screen">
html,body,iframe {
margin: 0;
padding: 0;
}
html,body {
height: 100%;
overflow: hidden;
}
iframe {
width: 100%;
height: 100%;
border: 0;
}
</style>
</head>
<body>
<iframe src="//www.herokucdn.com/error-pages/application-error.html"></iframe>
</body>
</html>
Thanks a lot for your help !
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 3
- Comments: 20 (9 by maintainers)
Commits related to this issue
- Merge pull request #296 from kheiakiyama/categories Add categories style — committed to caiopavanelli/staticman by halogenica 5 years ago
@zxdawn2 Thanks for your invitation to @staticmanlab.
The link for accepting the invitation is
https://staticman3.herokuapp.com/v3/connect/github/zxdawn2/zxdawn2.github.io/
Explanation: You invite a GitHub/GitLab user to the whole repo, not just to a particular branch.
To hook up your HTML form with Staticman API. you need
/entryinstead of/connect.Note that
commentsis just a property name instaticman.yml. You may change it to any name you like. For example, https://github.com/okfde/offenerhaushalt.de/blob/gh-pages/staticman.yml.masterbranch, so I tried my best to minimise the setup and the corresponding git diff between thedevbranch at55d14306and mydeploybranch.