webhook deploy install
This commit is contained in:
7
assets/webhook-deploy.sh
Normal file
7
assets/webhook-deploy.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bach
|
||||
|
||||
# update bare repos
|
||||
git --git-dir=git-repositories/DOMAIN.git fetch origin prod:prod
|
||||
# deploy prod
|
||||
cd www/DOMAIN/app
|
||||
./deploy.sh
|
10
assets/webhook.service
Normal file
10
assets/webhook.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Small server for creating HTTP endpoints (hooks)
|
||||
Documentation=https://github.com/adnanh/webhook/
|
||||
|
||||
[Service]
|
||||
ExecStart=webhook -hooks /etc/webhooks.conf -verbose -nopanic -hotreload
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user