#!/bin/bash
cd /var/www/html/uramori.jp
git add .
git stash save
git pull origin develop
chmod -R 777 public/
chmod -R 777 public/.
chmod -R 777 storage/
chmod -R 777 storage/.
composer dump-autoload
php artisan migrate
php artisan config:clear
php artisan cache:clear
php artisan view:cache
php artisan route:cache
php artisan indexer:reload
npm run production-all