Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
fix: Use --team not --org for pipelines:create
Browse files Browse the repository at this point in the history
  • Loading branch information
sjparkinson committed Feb 12, 2019
1 parent b56effe commit 2d8fcae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pipelines.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function getApps (pipelineName){

function create (pipelineName, { stagingApp, organisation }){
let command = 'heroku';
let args = ['pipelines:create', pipelineName, '--org', organisation, '--stage', 'staging', '--app', stagingApp];
let args = ['pipelines:create', pipelineName, '--team', organisation, '--stage', 'staging', '--app', stagingApp];

return new Promise((resolve, reject) =>{
let ps = spawn(command, args, { env:process.env, stdio:'inherit' });
Expand Down

0 comments on commit 2d8fcae

Please sign in to comment.