Files
ProxyPanel/update.sh
2020-10-18 12:53:40 +08:00

8 lines
205 B
Bash

#!/usr/bin/env bash
git fetch --all
git reset --hard origin/master
git pull
php artisan optimize:clear
composer install --prefer-dist --optimize-autoloader --no-dev
php artisan optimize
chown -R www:www ./