Publish content and media items

To make the media items publicly available, they need to be published. You can easily do this using the publish script included in the starter kit. This script uses the Content Management API.

Note

Publication might take some time to complete before you see items marked as published.

To publish content and media items:

  1. In Visual Studio Code, navigate to the root of the repository folder.

  2. Run the command node publish. The content and media items are published and set to the PUBLISHED status.

Tip

Scripts are provided to unpublish or remove content and media items. To use these scripts, enter node unpublish or node remove.

Do you have some feedback for us?

If you have suggestions for improving this article,