chore: disable old K3s Actions; add webhook deploy scripts

This commit is contained in:
Azmat@qq.com
2026-09-23 15:16:40 +08:00
parent b1ef04ee30
commit a6a3d88624
4 changed files with 143 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=AirShelf Gitea deploy webhook
After=network.target docker.service
[Service]
Type=simple
Environment=WEBHOOK_SECRET=CHANGE_ME
Environment=WEBHOOK_HOST=127.0.0.1
Environment=WEBHOOK_PORT=9000
Environment=DEPLOY_SH=/opt/AirShelf/scripts/deploy-dev.sh
ExecStart=/usr/bin/python3 /opt/AirShelf/scripts/webhook/receiver.py
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target