diff --git a/src/Commands/sailonLagoonAssets/.lagoon.yml b/src/Commands/sailonLagoonAssets/.lagoon.yml index 2f47cb2..ac04972 100644 --- a/src/Commands/sailonLagoonAssets/.lagoon.yml +++ b/src/Commands/sailonLagoonAssets/.lagoon.yml @@ -17,17 +17,12 @@ tasks: shell: bash - run: name: Clear caches - command: php artisan -n cache:clear && php artisan -n route:clear && php artisan -n view:cache + command: php artisan -n optimize:clear service: cli shell: bash - run: name: Build caches when pushing to production when: LAGOON_ENVIRONMENT_TYPE == "production" - command: | - php artisan config:cache - php artisan route:cache - php artisan view:cache - php artisan event:cache - php artisan optimize + command: php artisan optimize service: cli shell: bash