Hi, by curiosity, is there some kind of environmen...
# sdf
t
Hi, by curiosity, is there some kind of environment variables? Like predefining deployment parameters depending on the account to deploy to?
e
Not specifically, but
suitecloud.config.js
is regular JavaScript module file, so in it, you could import any other JS/JSON file you wanted or read values from the Node environment, then use those values to branch your parameters or perform any other logic you like.
t
Ok, thanks! I'll try to check that 👍
r
As you explore different server environments for your deployment processes, our GitHub project may provide valuable insights. We’ve integrated Azure DevOps pipeline library variables to manage our workflow efficiently. The command I’m sharing below reflects new variables that aren’t in the project template yet but demonstrates how you can utilize environment parameters and conditional tasks based on the release state: SourcedBranch=$(cat ./.ci/.branch) git fetch --all --prune git checkout $SourcedBranch npm run setup-server-token --sourcebranch=$SourcedBranch [...] npm test npm run deploy-pipeline We’re actively looking for collaborators to refine and evolve our approach. If you have ideas or improvements, we encourage you to contribute. While I’m updating the project with the latest enhancements, you can get started here: NetSuite CustomModules Template. Your participation could help shape a more robust deployment process.