diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37985b2..4d99dc2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -23,9 +23,11 @@ jobs: composer install --optimize-autoloader --no-dev npm install cp ../.env .env - php artisan key:generate --force - php artisan migrate --force - php artisan config:cache - php artisan route:cache - php artisan view:cache + sudo php artisan key:generate --force + sudo php artisan migrate --force + sudo php artisan config:cache + sudo php artisan route:cache + sudo php artisan view:cache + sudo chown -R www-data:www-data /home/laravel/project/T-Caps/storage + sudo chown -R www-data:www-data /home/laravel/project/T-Caps/public/source/media npm run build