- Creat a new github account which will be added as collaborator to the project using staticman.
- Go to settings -> developer settings -> personal access tokens. Create a token with
admin:repo_hook
permission. - Save the token.
- Create a new app on heroku
- Setup ENV variables
- Set
NODE_ENV
toproduction
- Set
GITHUB_TOKEN
to the token generated above - Set
RSA_PRIVATE_KEY
to rsa key created byopenssl genrsa -out key.pem
- Set
- Fork staticman
- Under deploy tab in heroku use Github as deployment method.
- Select dev branch and deploy
ref - https://vincenttam.gitlab.io/post/2018-09-16-staticman-powered-gitlab-pages/2/
Staticman v3 API is available. It allows support for GitLab. You might want to update your gist.