Skip to content
Snippets Groups Projects
Verified Commit 18200bfc authored by David Beniamine's avatar David Beniamine
Browse files

Fix git not changing branch

parent da75c294
No related branches found
No related tags found
Loading
...@@ -5,6 +5,7 @@ if [ -z "$(ls /var/www/dolibarr 2> /dev/null)" ]; then ...@@ -5,6 +5,7 @@ if [ -z "$(ls /var/www/dolibarr 2> /dev/null)" ]; then
chown -R www-data:www-data /var/www/dolibarr chown -R www-data:www-data /var/www/dolibarr
fi fi
cd /var/www/dolibarr cd /var/www/dolibarr
git config --global --add safe.directory /var/www/dolibarr
git fetch git fetch
git checkout $DOLI_VERSION git checkout $DOLI_VERSION
if [ "$ENV" == "prod" ]; then if [ "$ENV" == "prod" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment