8000 add webhook token for prod · EuroPython/internal-bot@0cd2e2e · GitHub
[go: up one dir, main page]

Skip to content

Commit 0cd2e2e

Browse files
committed
add webhook token for prod
1 parent 40f0483 commit 0cd2e2e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

deploy/templates/app/intbot.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,7 @@ POSTGRES_PASSWORD="RandomPasswordPleaseChange"
1313
DISCORD_BOT_TOKEN="Token Goes Here"
1414
DISCORD_TEST_CHANNEL_ID="123123123123123123123123"
1515
DISCORD_TEST_CHANNEL_NAME="#test-channel"
16+
17+
18+
# Webhooks
19+
WEBHOOK_INTERNAL_TOKEN="asdf"

intbot/intbot/settings.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,8 @@ def warn_if_missing(name, default=""):
292292
"https://internal.europython.eu",
293293
]
294294

295+
WEBHOOK_INTERNAL_TOKEN = os.environ["WEBHOOK_INTERNAL_TOKEN"]
296+
295297

296298
elif DJANGO_ENV == "build":
297299
# Currently used only for collecting staticfiles in docker

0 commit comments

Comments
 (0)
0