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:
parent
e7585c32d3
commit
0d6bd1bfde
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue