capistrano / composer

Capistrano extension for Composer tasks
MIT License
183 stars 48 forks source link

Trying to update the local composer skips the composer install #34

Closed cmodijk closed 9 years ago

cmodijk commented 9 years ago

When the following rule is defined, composer install won't run during cap deploy:

before 'composer:install', 'composer:self_update'
swalkinshaw commented 9 years ago

Have you tried just doing it on deploy:updated?

before 'deploy:updated', 'composer:self_update'
cmodijk commented 9 years ago

That seams to work

Tjeerd commented 9 years ago

I'm having the same issue, when adding composer:self-update (after :starting) the install command doesn't run. Moving the self-update to before 'deploy:updated' like suggested above, it doesn't run at all.