Update webhooks

This commit is contained in:
2024-11-19 13:49:43 +01:00
parent a06c27004f
commit d7463ed316
2 changed files with 10 additions and 1 deletions

View File

@@ -44,7 +44,7 @@ jobs:
file: ./docker/build.dockerfile
-
name: Invoke deployment hook (app)
name: Invoke deployment hook (game_list)
uses: joelwmale/webhook-action@master
with:
url: ${{ secrets.WEBHOOK_URL }}
@@ -60,3 +60,9 @@ jobs:
uses: joelwmale/webhook-action@master
with:
url: ${{ secrets.WEBHOOK_URL_3 }}
-
name: Invoke deployment hook (scheduler)
uses: joelwmale/webhook-action@master
with:
url: ${{ secrets.WEBHOOK_URL_4 }}

View File

@@ -17,6 +17,9 @@ logger.setLevel(logging.INFO)
async def main():
logger.info("Starting services...")
if len(sys.argv) != 2:
raise RuntimeError("Usage: python main.py <module>")
module = sys.argv[1]
await mongo_manager.init()