Part 5: Promoting your changes
Introductionโ
Congratulations, by now, you already have your FastStore project integrated with the VTEX Headless CMS! In this last part of this tutorial, let's guarantee you promote your changes to production.
Step by stepโ
Step 1 - Publishing your FastStore projectโ
After adapting your pages
components and querying for the CMS data, open a Pull Request and merge it to master
.
Step 2 - Syncing your changesโ
Now, if you are happy with your Content Type, Section and Translation Keys definitions, you can put them on production by taking the following steps:
- Open the terminal and switch to the master workspace.
vtex use master
- Change to the root directory of your FastStore project and sync your changes in the
cms
folder with the VTEX Headless CMS app.vtex cms sync
๐ Congratulations! Your FastStore project is now completed integrated with the VTEX Headless CMS, and editors will now have the autonomy to create, edit, and publish web content via the VTEX Admin with the VTEX Headless CMS app.