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

@@ -10,9 +10,11 @@ if [ $refname = "refs/heads/prod" ]; then
unset GIT_DIR
cd ~
cd $PRODDIR
git pull --ff-only origin prod
# git pull --ff-only origin prod
# run deploy script instead
. deploy.sh
echo $?
echo "====== OK ====="
else
echo "Warning Commit not deployed, please use prod branch"
fi
fi