How to pass auth token in
sfcc.code.diffdeploy(instance, localDirectories, codeVersionName, options, activate)
.then(() => {
// do something, now that the code has been deployed and activated successfully
})
Relevant log output
Error: Authorization missing or invalid. Please (re-)authenticate first by running ´sfcc-ci auth:login´ or ´sfcc-ci client:auth´ and make sure, your client has access to the instance.
sfcc-ci Version
2.11.0
NodeJS Version
16.0.0
sfcc-ci Path
diffdeploy
Host OS Details
MAC OS
What happened?
How to pass auth token in sfcc.code.diffdeploy(instance, localDirectories, codeVersionName, options, activate) .then(() => { // do something, now that the code has been deployed and activated successfully })
Relevant log output