update.sh 205 B

12345678
  1. #!/usr/bin/env bash
  2. git fetch --all
  3. git reset --hard origin/master
  4. git pull
  5. php artisan optimize:clear
  6. composer install --prefer-dist --optimize-autoloader --no-dev
  7. php artisan optimize
  8. chown -R www:www ./