Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

composer install in ./update doesn't use provided credentials #81

Open
macieklewkowicz opened this issue Sep 29, 2017 · 1 comment
Open

Comments

@macieklewkowicz
Copy link

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.

execute :composer, "install #{composer_flags} -d ./update 2>&1"
.

@davidalger
Copy link
Owner

@macieklewkowicz Interesting…Think I'm going to look at addressing this in context of #82.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants