Add deployment scripts and webhook configuration

This commit is contained in:
2026-01-13 15:38:45 -05:00
parent 82313a23aa
commit 13b2315ebf
2 changed files with 75 additions and 0 deletions

18
deployment/hooks.json Normal file
View File

@@ -0,0 +1,18 @@
[
{
"id": "discord-bot-deploy",
"execute-command": "/usr/local/bin/discord_bot_deploy.sh",
"command-working-directory": "/root/code/discordBot",
"response-message": "Deploying Discord bot...",
"trigger-rule": {
"match": {
"type": "payload-hash-sha256",
"secret": "CHANGE_THIS_SECRET_KEY",
"parameter": {
"source": "header",
"name": "X-Gitea-Signature"
}
}
}
}
]