v2board/update.sh
2021-10-05 21:03:27 +08:00

8 lines
311 B
Bash
Executable File

git fetch --all && git reset --hard origin/master && git pull origin master
rm -rf composer.lock composer.phar
curl https://github.com/composer/composer/releases/latest/download/composer.phar > composer.phar
php composer.phar update -vvv
php artisan v2board:update
php artisan config:cache
pm2 restart pm2.yaml