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

19 lines
516 B
Python
Executable File

#! /usr/bin/env python3
import deploy_config
from pelican_deploy import DeploymentRunner
import pelican_deploy.webhookbottle
import logging
runners = {name: DeploymentRunner(name, conf)
for name, conf in deploy_config.RUNNERS.items()}
if __name__ == "__main__":
#for r in runners.values():
# r.build_blocking()
pelican_deploy.webhookbottle.set_runners(**runners)
pelican_deploy.webhookbottle.set_github_secret(deploy_config.GITHUB_SECRET)
pelican_deploy.webhookbottle.devrun()