Promoting a workspace to Master
Promoting a workspace to Master means making your code changes usable to the end user, in other words, making them publicly available.
According to the different types of workspaces in the platform, only Production workspaces can be promoted to Master. Developer workspaces, in turn,(https://vtex.io/docs/recipes/development/creating-a-development-workspace/) only must be used for code development and testings.
Step by step
- Make sure you are logged into an VTEX account and using the desired Production workspace to be promoted;
- Run the following command:
vtex workspace promote
Notice the following: whenever you promote a Production workspace to Master, other account's workspaces will also be impacted with the new changes.
This is due to the fact that the account's workspaces work as a copy of the version available to the end user. Therefore, the Master settings will always prevail over the settings of the other account's workspaces.