laravel
laravel copied to clipboard
Add support for Lumen deploys
The current task list has some artisan commands that don't apply to Lumen and will cause the deploy to fail. If we add a new flag that marks a project as Laravel or Lumen, we can add checks to skip tasks specific to Laravel.
I would be great feature! :+1:
Would like to see lumen support too :+1: Is there a workaround for the time being?
01:06 laravel:artisan
01 php artisan storage:link --env=production
01
01
01 [Symfony\Component\Console\Exception\CommandNotFoundException]
01 There are no commands defined in the "storage" namespace.
01
01
Same for optimize command
@craigcarnell Workaround for me was to add:
Rake::Task['laravel:storage_link'].clear()
Rake::Task['laravel:optimize'].clear()
to my deploy.rb file