chore: disable old K3s Actions; add webhook deploy scripts
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user