Closed andylolz closed 9 years ago
I’ve made a very tiny API for this using flask (overkill perhaps, given there’s only one endpoint… but flask was the easiest thing to use.)
To add the webhooks:
Then do the same for https://github.com/codeclub/webdev-curriculum/settings/hooks/new and https://github.com/codeclub/python-curriculum/settings/hooks/new
To just rebuild world, the payload URL would be: http://codeclubrobot.herokuapp.com/rebuild/world
Done :)
Brilliant! Thanks, @Jonic :)
From the heroku logs, it looks like it’s working :+1:
@codeclubrobot is currently scheduled to run nightly, thanks to heroku scheduler. It would be better to (also) run whenever a change is made to a curriculum repo.
This involves: