capistrano-magento2
capistrano-magento2 copied to clipboard
`composer install` in `./update` doesn't use provided credentials
When credentials for repo.magento.com are set via set :magento_auth_public_key, '<your_public_key_here>' and set :magento_auth_private_key, '<your_prviate_key_here>', they're being used only when Capistrano runs composer install in Magento root folder but not in ./update.
This is likely due to Composer not loading credentials from ./auth.json when being executed with -d ./update flag.
https://github.com/davidalger/capistrano-magento2/blob/2a10a675043a6ac23fb9b4e97656c4507a060c47/lib/capistrano/tasks/magento.rake#L97.
@macieklewkowicz Interesting…Think I'm going to look at addressing this in context of #82.