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