Allow user to change config and scripts folder
This commit is contained in:
@@ -11,10 +11,10 @@ if [ -z "$GIT_NAME" ]; then
|
||||
fi
|
||||
|
||||
# Try auto install for composer
|
||||
if [ -f "/var/www/html/composer.lock" ]; then
|
||||
composer install --no-dev --working-dir=/var/www/html
|
||||
if [ -f "${WEBROOT}/composer.lock" ]; then
|
||||
composer install --no-dev --working-dir=${WEBROOT}
|
||||
fi
|
||||
|
||||
cd /var/www/html
|
||||
cd ${WEBROOT}
|
||||
git pull || exit 1
|
||||
chown -Rf nginx:nginx /var/www/html
|
||||
chown -Rf nginx:nginx ${WEBROOT}
|
||||
|
||||
Reference in New Issue
Block a user