Autodeploy project to Heroku on each new merged commit.
Here is a guide. https://devcenter.heroku.com/articles/github-integration
Can someone without admin access to the repo deploy to heroku? If yes, then I would like to work on this.
There are several things involved:
So, you can go ahead and create a "deploy to heroku button"/a heroku configuration. If this is done, the admin has alsmost no effort, I believe, to add the hook.
I was testing the app by deploying to heroku. Link: https://badegyay.herokuapp.com/
The shell script merge_badges.sh doesn't work. It failed with error sudo command not found
Any idea how to fix this?
Yes, sudo is not available under heroku. The build script needs some packages installed:
https://github.com/fossasia/badgeyay/search?utf8=%E2%9C%93&q=sudo&type=
You can remove this error by installing the packages before with a heroku config, if that is possible. While Heroku runs, you can not change the system too much.
Travis installs them before, as you can see in the search.
Here is a little help in case someone wants to work on this:
@jajodiaraghav I will work on this
Most helpful comment
@jajodiaraghav I will work on this