Skip to content

Commit 865ad49

Browse files
authored
@W-17366392: Fix Omnistudio issues for the sf command format (#3855)
1 parent 5192132 commit 865ad49

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

cumulusci/tasks/vlocity/vlocity.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
LWC_RSS_NAME = "OmniStudioLightning"
2828
OMNI_NAMESPACE = "omnistudio"
2929
VBT_SF_ALIAS = "cci-vbt-target"
30-
SF_TOKEN_ENV = "SFDX_ACCESS_TOKEN"
30+
SF_TOKEN_ENV = "SF_ACCESS_TOKEN"
3131
VBT_TOKEN_ENV = "OMNIOUT_TOKEN"
3232

3333

@@ -106,7 +106,9 @@ def _add_token_to_sfdx(self, access_token: str, instance_url: str) -> str:
106106
# TODO: Use the sf v2 form of this command instead (when we migrate)
107107
token_store_cmd = [
108108
"sf",
109-
"org login access-token",
109+
"org",
110+
"login",
111+
"access-token",
110112
"--no-prompt",
111113
"--alias",
112114
f"{VBT_SF_ALIAS}",

0 commit comments

Comments
 (0)