splitted vhost, added gitbarerepo creation
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user