15 lines
293 B
Python
15 lines
293 B
Python
#!/usr/bin/env python3
|
|
import logging
|
|
|
|
from flask import Flask
|
|
from github_webhook import Webhook
|
|
|
|
import config
|
|
|
|
logging.basicConfig(level=logging.INFO)
|
|
|
|
app = Flask(__name__)
|
|
webhook = Webhook(app, secret=config.GITHUB_WEBHOOK_SECRET)
|
|
|
|
if __name__ == "__main__":
|
|
app.run(host="0.0.0.0")
|