Cli: Allow --site-id on deploy command

Created on 1 Oct 2018  路  5Comments  路  Source: netlify/cli

- Do you want to request a feature or report a bug?

feature

- What is the current behavior?

deploy uses .netlify/json file. I would like to pass site id as a parameter.

- If the current behavior is a bug, please provide the steps to reproduce.

- What is the expected behavior?

- Please mention your node.js, and operating system version.

Most helpful comment

Ok, I decided to to this. Stay posted.

All 5 comments

We allow the use of the environment variable NETLIFY_SITE_ID, to override or bypass the link step, but I'm thinking maybe a flag could be helpful here as well.

Specifying a site ID when running the command is very useful when deploying multiple sites at the same time (eg. from a mono repo).

Ok, I decided to to this. Stay posted.

I released a beta that should address this issue: see https://github.com/netlify/cli/pull/147#issuecomment-429497857

Expect a full release monday.

馃帀[email protected]馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

karl-cardenas-coding picture karl-cardenas-coding  路  3Comments

cco3 picture cco3  路  4Comments

jasikpark picture jasikpark  路  5Comments

sw-yx picture sw-yx  路  4Comments

mrlubos picture mrlubos  路  5Comments