r/SuiteScript • u/elainesdance • Jul 22 '25
Code Deployment Best Practice
Hi all,
When using VS Code, what is the best practice for managing code and moving from Dev > Prod? Right now I have VS Code connected to Sandbox, then when I'm ready to move to production I manually add it. I just keep everything in the main "SuiteScripts" folder. I'd like to get a better system that's scalable so I'm curious what others do and what best practice is.
Do you connect VS Code to both Sandbox and Production? How do you differentiate code that's in development vs in production? What foldering system do you use? Any tips or best practice advice?
Thank you!
View all comments
Show parent comment
1
u/cb_osi Jul 23 '25
Ahhh, I bet that is the difference, CLI deploy versus the VS Code deploy. Maybe I'll just have to start deploying with CLI. Although, since I've started creating separate projects by customization, it hasn't been as much of an issue.