chrishasz / spgo

SPGo: A Lightweight, Open Source, SharePoint IDE for Visual Studio Code
https://www.chrishasz.com/spgo
MIT License
60 stars 11 forks source link

Same code on multiple site collections (different environments of the same solution) #154

Open piteerus opened 2 years ago

piteerus commented 2 years ago

I'm looking for best practices of working with multiple site collections with SPGo. Let's have an application (SharePoint related) that you would try on the Staging environment first. For that reason, I'm forced to create a copy of solution files under a different folder (VS Code - workspace) and configure spgo.json with appropriate values. Now... if I introduce any change to the app I must overwrite the corresponding file in the "prod" version with the one that I changed in the "staging" version or I am missing something?

Is there any better practice to address the above problem? Is there any configuration setting that will allow me to choose which environment I want to push the code while publishing workspace?