We are developing the JSS application in SSR headless mode. There will be more than 10 developers working at a time, when going through the options to deploy the content from JSS to Sitecore we noticed the below command,
jss deploy app --includeContent --includeDictionary
This will install the content from JSS to Sitecore when our content item is in "Development Mode".
So is there a way to add a new version whenever we deploy the app using the command "jss deploy app --includeContent --includeDictionary"
I mean is there a way to implement as below When executing the command "jss deploy app --includeContent --includeDictionary" 1. If any item which is new in JSS app, should get added to the Sitecore 2. If any existing item [in "Published" state or no state selected] then create a new version for that item. 3. If any item in other workflow states [not in final state] then overwrite the item
Any suggestion will help us to create a better deployment workflow.. Thank You..