How to deploy a Source to a particular Organisation

Hi,

I am publishing a source to pipedream using this CLI command:

pd dev source.js

The source deploys to the wrong organisation.

How can I choose which organisation to deploy to?

Hi @lharney

You can define multiple profiles under your PD config.

Then you can define a profile argument during pd deploy and other CLI commands:

pd --profile other_org deploy 
1 Like

Got it. Thanks @pierce

1 Like