laravel icon indicating copy to clipboard operation
laravel copied to clipboard

Add support for Lumen deploys

Open ikari7789 opened this issue 9 years ago • 3 comments

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.

ikari7789 avatar Nov 07 '16 05:11 ikari7789

I would be great feature! :+1:

joseluisq avatar Feb 23 '17 21:02 joseluisq

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

cscd98 avatar May 12 '17 14:05 cscd98

@craigcarnell Workaround for me was to add:

Rake::Task['laravel:storage_link'].clear()
Rake::Task['laravel:optimize'].clear()

to my deploy.rb file

l3rady avatar Apr 17 '18 10:04 l3rady