Skip to content

Commit dd3051b

Browse files
Fixed buildAndDeploy to login to correct region
1 parent a7920b5 commit dd3051b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/buildAndDeploy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def deploy(self):
211211
os.environ["IBMCLOUD_TRACE"] = "false"
212212
if not apikey:
213213
raise Exception("IBMCLOUD_APIKEY needs to be set to the proper API key first.")
214-
login_cmd = ["ibmcloud", "login", f"--apikey={apikey}"]
214+
login_cmd = ["ibmcloud", "login", f"--apikey={apikey}", "-r=us-east"]
215215
print(f"[yellow]Running: ibmcloud login --apikey $IBMCLOUD_APIKEY")
216216
subprocess.run(login_cmd)
217217
files = glob.glob(os.path.join(self.cwd, 'out', f"sl-{self.version}-*"))

0 commit comments

Comments
 (0)