Source Code Update

Hey everyone,
I made some changes to the code using a Workspace — now, how do I push those changes to the site? (these are changes that aren’t made through the SITE EDITOR), they’re changes to the json, css..

Hi @gleyciane.costa, how are you?

After finishing your development, you need to release a new version of your app with the vtex publish command.

Before publishing, you can optionally use vtex release to handle version bumps in the manifest, add a version tag to your Git repository, etc.

After doing that, we recommend creating a new production workspace and installing the new version there, using the commands vtex use {workspaceName} --production and vtex install.

You can then optionally run an A/B test between that workspace and master to gradually check the impact of the new version on your store’s metrics.

When everything looks good, you can promote the production workspace to master with the command vtex workspace promote.

I recommend reading the documentation carefully:

Thanks!!! I have another question — the HTML code we see in the inspector, where do we access it? I’d like to reorganize the div where the login icon is located, because when the user logs in, the icon disappears but the “Log in” text doesn’t. In the inspector I saw that the text isn’t inside the button, and I’d like it to be, so that when the icon disappears, the text disappears too.

@gleyciane.costa I think it’s better to open a new question so we don’t mix up the topics. If you can, please share a screenshot and a link to the development workspace where we can see what you’re seeing.