splitted vhost, added gitbarerepo creation

This commit is contained in:
Bachir Soussi Chiadmi
2018-04-07 12:27:55 +02:00
parent e15e231cc5
commit 6e5433b041
10 changed files with 168 additions and 109 deletions

View File

@@ -1,6 +1,7 @@
#!/bin/bash
#hook/pre-receive
#CONFIG
PRODDIR="www"
read oldrev newrev refname
@@ -14,4 +15,4 @@ if [ $refname = "refs/heads/prod" ]; then
echo "====== OK ====="
else
echo "Warning Commit not deployed, please use prod branch"
fi
fi