1
0
mirror of https://github.com/IEEE-SB-Passau/pelican-deployment-system.git synced 2017-09-06 16:35:38 +02:00

allow cronjobs to do builds if pull from remote repo fail

This commit is contained in:
2016-06-14 15:03:30 +02:00
parent c0fc14f3f9
commit 4670a142a1
2 changed files with 28 additions and 9 deletions

3
app.py
View File

@@ -41,7 +41,8 @@ def init_app(configpath):
name="{} ({})".format(rname, i),
id="{}_{}".format(rname, i),
max_instances=1,
kwars={"wait": True})
kwargs={"wait": True,
"ignore_pull_error": True})
pelican_deploy.webhookbottle.set_runners(**runners)
pelican_deploy.webhookbottle.set_github_secret(config.GITHUB_SECRET)