Files
ProxyPanel/update.sh
2020-09-12 13:40:20 +08:00

9 lines
194 B
Bash

#!/usr/bin/env bash
git fetch --all
git reset --hard origin/master
git pull
php artisan optimize:clear
php composer.phar install
php artisan key:generate
php artisan optimize
chown -R www:www ./