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

WP cli fails to parse $npm_config #83

Open
nicooprat opened this issue Nov 7, 2017 · 0 comments
Open

WP cli fails to parse $npm_config #83

nicooprat opened this issue Nov 7, 2017 · 0 comments

Comments

@nicooprat
Copy link

Hi,

I'm trying to use the wp migratedb command this way in my package.json:

"push:preprod": "wp migratedb push $npm_config_PREPROD_SITE $npm_config_PREPROD_KEY --media=compare"

I have a .npmrc which looks like:

PREPROD_SITE=http://example.com
PREPROD_KEY=WKGHemKW9z6p3YV6MFsCb+zWvBy6PsFUWiiggHg

I'm only getting Exit status 1. If I replace $npm_config_ parts with real values it works great.

I have a lot of other commands using this way of using .npmrc config, without any issue. Any idea why wp migrate fails to parse it?

Thanks.

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

No branches or pull requests

1 participant