v2board/update.sh
2021-08-10 13:37:37 +09:00

8 lines
273 B
Bash
Executable File

git fetch --all && git reset --hard origin/master && git pull origin master
rm -rf composer.lock composer.phar
wget https://getcomposer.org/download/2.0.13/composer.phar
php composer.phar update -vvv
php artisan v2board:update
php artisan config:cache
pm2 restart pm2.yaml