mirror of
https://github.com/v2board/v2board.git
synced 2025-07-20 06:29:13 +08:00
update: shell
This commit is contained in:
@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
git fetch --all && git reset --hard origin/dev && git pull origin dev
|
||||
git checkout dev
|
||||
rm -rf composer.lock composer.phar
|
||||
@ -5,3 +7,7 @@ wget https://github.com/composer/composer/releases/latest/download/composer.phar
|
||||
php composer.phar update -vvv
|
||||
php artisan v2board:update
|
||||
php artisan config:cache
|
||||
|
||||
if [ -f "/etc/init.d/bt" ]; then
|
||||
chmod -R www $(PWD);
|
||||
fi
|
||||
|
Reference in New Issue
Block a user