update checkout theo tags

This commit is contained in:
SonTV 2023-07-04 10:08:45 +07:00
parent 64085ce7b2
commit c560a527f4

View File

@ -15,9 +15,12 @@ then
sudo chmod -R 0777 /var/www/html/BiFace_Server_Lite/runtime /var/www/html/BiFace_Server_Lite/web/assets /var/www/html/BiFace_Server_Lite/db /var/www/html/BiFace_Server_Lite/web/data/uploads
else
echo "================================ update serverlite pro ==============================="
echo "Enter the tags serverlite"
read type
cd /var/www/html/BiFace_Server_Lite
git checkout litepro_dev
git pull origin litepro_dev
git fetch -v
git checkout tags/$type
# git pull origin litepro_dev
fi
echo "================================ update serverlite done!!! ==============================="
pm2 reload all