Use Firebase Hosting, part of Firebase, to deploy a Thulite site.

Prerequisites

To follow this guide, install firebase-tools.

How to deploy

  1. Create firebase.json at the root of your project with the following content:

    firebase.json
    {
      "hosting": {
        "public": "public",
        "ignore": []
      }
    }
  2. Create .firebaserc at the root of your project with the following content:

    .firebaserc
    {
      "projects": {
        "default": "<YOUR_FIREBASE_ID>"
      }
    }
  3. Run your build command:

  4. Deploy your site:

    firebase deploy