webhook deploy install

This commit is contained in:
2021-05-18 13:58:50 +02:00
parent 198036de8d
commit 0af76cdd60
3 changed files with 112 additions and 0 deletions

7
assets/webhook-deploy.sh Normal file
View 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