From 5d96064fdfe48d21642f029c57275810be818fbb Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 30 Aug 2023 09:03:59 +0700 Subject: [PATCH] add plex integration to hooks --- tubearchivist/web/src/webhook_base.py | 4 ++++ tubearchivist/web/src/webhook_github.py | 1 + 2 files changed, 5 insertions(+) diff --git a/tubearchivist/web/src/webhook_base.py b/tubearchivist/web/src/webhook_base.py index 2cb806e..2c694b5 100644 --- a/tubearchivist/web/src/webhook_base.py +++ b/tubearchivist/web/src/webhook_base.py @@ -58,6 +58,10 @@ class WebhookBase: ], "discord_release_hook": environ.get("GITHUB_RELEASE_HOOK_URL"), }, + "tubearchivist-plex": { + "gh_user": "tubearchivist", + "gh_repo": "tubearchivist-plex", + }, "discord-bot": { "gh_user": "tubearchivist", "gh_repo": "discord-bot", diff --git a/tubearchivist/web/src/webhook_github.py b/tubearchivist/web/src/webhook_github.py index 8899c17..ca8340b 100644 --- a/tubearchivist/web/src/webhook_github.py +++ b/tubearchivist/web/src/webhook_github.py @@ -20,6 +20,7 @@ HOOK_URL = { "tubearchivist/tubearchivist": environ.get("GITHUB_TA_HOOK_URL"), "tubearchivist/docs": environ.get("GITHUB_DOCS_URL"), "tubearchivist/tubearchivist-jf": environ.get("GITHUB_JF_URL"), + "tubearchivist/tubearchivist-plex": environ.get("GITHUB_PLEX_URL"), }