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:
@@ -21,11 +21,10 @@ environments:
|
|||||||
domain: api.opnform.com
|
domain: api.opnform.com
|
||||||
build:
|
build:
|
||||||
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
|
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
|
||||||
- "php artisan event:cache"
|
- "php artisan optimize"
|
||||||
- "php artisan disposable:update"
|
- "php artisan disposable:update"
|
||||||
deploy:
|
deploy:
|
||||||
- "php artisan migrate --force"
|
- "php artisan migrate --force"
|
||||||
- "php artisan optimize"
|
|
||||||
firewall:
|
firewall:
|
||||||
rate-limit: 1000
|
rate-limit: 1000
|
||||||
timeout: 60
|
timeout: 60
|
||||||
@@ -39,11 +38,10 @@ environments:
|
|||||||
domain: api.stg.opnform.com
|
domain: api.stg.opnform.com
|
||||||
build:
|
build:
|
||||||
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
|
- "COMPOSER_MIRROR_PATH_REPOS=1 composer install --no-dev"
|
||||||
- "php artisan event:cache"
|
- "php artisan optimize"
|
||||||
- "php artisan disposable:update"
|
- "php artisan disposable:update"
|
||||||
deploy:
|
deploy:
|
||||||
- "php artisan migrate --force"
|
- "php artisan migrate --force"
|
||||||
- "php artisan optimize"
|
|
||||||
firewall:
|
firewall:
|
||||||
rate-limit: 1000
|
rate-limit: 1000
|
||||||
timeout: 60
|
timeout: 60
|
||||||
|
|||||||
Reference in New Issue
Block a user