mirror of
https://github.com/kurbezz/discord-bot.git
synced 2025-12-06 15:15:37 +01:00
Update webhooks
This commit is contained in:
8
.github/workflows/build_docker_image.yml
vendored
8
.github/workflows/build_docker_image.yml
vendored
@@ -44,7 +44,7 @@ jobs:
|
|||||||
file: ./docker/build.dockerfile
|
file: ./docker/build.dockerfile
|
||||||
|
|
||||||
-
|
-
|
||||||
name: Invoke deployment hook (app)
|
name: Invoke deployment hook (game_list)
|
||||||
uses: joelwmale/webhook-action@master
|
uses: joelwmale/webhook-action@master
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.WEBHOOK_URL }}
|
url: ${{ secrets.WEBHOOK_URL }}
|
||||||
@@ -60,3 +60,9 @@ jobs:
|
|||||||
uses: joelwmale/webhook-action@master
|
uses: joelwmale/webhook-action@master
|
||||||
with:
|
with:
|
||||||
url: ${{ secrets.WEBHOOK_URL_3 }}
|
url: ${{ secrets.WEBHOOK_URL_3 }}
|
||||||
|
|
||||||
|
-
|
||||||
|
name: Invoke deployment hook (scheduler)
|
||||||
|
uses: joelwmale/webhook-action@master
|
||||||
|
with:
|
||||||
|
url: ${{ secrets.WEBHOOK_URL_4 }}
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ logger.setLevel(logging.INFO)
|
|||||||
async def main():
|
async def main():
|
||||||
logger.info("Starting services...")
|
logger.info("Starting services...")
|
||||||
|
|
||||||
|
if len(sys.argv) != 2:
|
||||||
|
raise RuntimeError("Usage: python main.py <module>")
|
||||||
|
|
||||||
module = sys.argv[1]
|
module = sys.argv[1]
|
||||||
|
|
||||||
await mongo_manager.init()
|
await mongo_manager.init()
|
||||||
|
|||||||
Reference in New Issue
Block a user