From 0d6bd1bfdea128dba71059740162b6df9a4f5e43 Mon Sep 17 00:00:00 2001 From: Julien Nahum Date: Sat, 15 Feb 2025 09:18:27 +0000 Subject: [PATCH] Update Vapor deployment configuration Remove redundant `php artisan event:cache` and `php artisan optimize` steps in build and deploy processes --- api/vapor.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/api/vapor.yml b/api/vapor.yml index 7622127a..255347b7 100644 --- a/api/vapor.yml +++ b/api/vapor.yml @@ -21,11 +21,10 @@ environments: domain: api.opnform.com build: - "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev" - - "php artisan event:cache" + - "php artisan optimize" - "php artisan disposable:update" deploy: - "php artisan migrate --force" - - "php artisan optimize" firewall: rate-limit: 1000 timeout: 60 @@ -39,11 +38,10 @@ environments: domain: api.stg.opnform.com build: - "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev" - - "php artisan event:cache" + - "php artisan optimize" - "php artisan disposable:update" deploy: - "php artisan migrate --force" - - "php artisan optimize" firewall: rate-limit: 1000 timeout: 60