From 55b98238183faee3113843c092cd28cc34515103 Mon Sep 17 00:00:00 2001 From: Naddeo Eddy Date: Sat, 14 Dec 2024 19:21:33 +0100 Subject: [PATCH] Updating pipeline --- .github/workflows/main.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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