capistrano / laravel

Gem for deploying Laravel projects with capistrano v3.*
MIT License
222 stars 71 forks source link

Add support for Lumen deploys #31

Open ikari7789 opened 7 years ago

ikari7789 commented 7 years ago

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.

joseluisq commented 7 years ago

I would be great feature! :+1:

csdougliss commented 7 years ago

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

l3rady commented 6 years ago

@craigcarnell Workaround for me was to add:

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

to my deploy.rb file