Update Vapor deployment configuration

Remove redundant `php artisan event:cache` and `php artisan optimize` steps in build and deploy processes
This commit is contained in:
Julien Nahum 2025-02-15 09:18:27 +00:00
parent e7585c32d3
commit 0d6bd1bfde
1 changed files with 2 additions and 4 deletions

View File

@ -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