Add deployment workflow (docker-compose, deploy.sh, webhook receiver)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Webhook Receiver für AufmaßWeb Deployment
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/aufmassweb
|
||||
ExecStart=/usr/bin/python3 /opt/aufmassweb/webhook_deploy.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
Environment=WEBHOOK_SECRET=change-me
|
||||
Environment=DEPLOY_SCRIPT=/opt/aufmassweb/deploy.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user