cs-icon.svg

Host a Static Site on Launch

Launch allows you to host static sites on Launch by importing projects from Git repositories or by uploading a zip file.

By using the steps mentioned in this guide, you will be able to host a static site on Launch.

Note: A static site does not require a build step since we're trying to host an already built website and its assets.

Prerequisites

  1. Contentstack account
  2. Access to Launch for your organization

Steps to Host a Static Site

Follow the steps given below to host a static site on Launch.

  1. Click Launch in the left navigation panel, as shown below.
    Launch_New_LeftNav_Hover.png
  2. Click the + New Project button.Launch_Landing_Page_2024Latest.png
  3. To host a static site project, select Import from a Git Repository or Upload a file as usual from the Create New Project modal.
  4. In the Build and Output Settings, leave the Build Command field blank.
    When a Build Command is not passed while creating a project or an environment, Launch assumes it as a static type and skips the build step.

    Host_Static_Site_Modal.png

  5. Click the Deploy button.
    Launch_Static_Site.png

With these steps, you have successfully deployed and hosted a static site on Launch.

Was this article helpful?
^