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
- Contentstack account
- Access to Launch for your organization
Steps to Host a Static Site
Follow the steps given below to host a static site on Launch.
- Click Launch in the left navigation panel, as shown below.
- Click the + New Project button.
- To host a static site project, select Import from a Git Repository or Upload a file as usual from the Create New Project modal.
- 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. - Click the Deploy button.
With these steps, you have successfully deployed and hosted a static site on Launch.