# Google FirebaseFirebase Hosting is a service provided by Google's Firebase app development platform, which can be used to deploy a Thulite site.
Use [Firebase Hosting](https://firebase.google.com/products/hosting), part of [Firebase](https://firebase.google.com/), to deploy a Thulite site.

## Prerequisites

To follow this guide, install [firebase-tools](https://github.com/firebase/firebase-tools).

## How to deploy

{{< steps >}}
{{< step >}}

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

```json {title="firebase.json"}
{
  "hosting": {
    "public": "public",
    "ignore": []
  }
}
```

{{< /step >}}
{{< step >}}

Create `.firebaserc` at the root of your project with the following content:

```json {title= ".firebaserc"}
{
  "projects": {
    "default": "<YOUR_FIREBASE_ID>"
  }
}
```

{{< /step >}}
{{< step >}}
Run your build command:

{{< tabs "run-build" >}}
{{< tab "npm" >}}

```bash
npm run build
```

{{< /tab >}}
{{< tab "pnpm" >}}

```bash
pnpm run build
```

{{< /tab >}}
{{< tab "Yarn" >}}

```bash
yarn run build
```

{{< /tab >}}
{{< tab "bun" >}}

```bash
bun run build
```

{{< /tab >}}
{{< /tabs >}}

{{< /step >}}
{{< step >}}

Deploy your site:

```bash
firebase deploy
```

{{< /step >}}
{{< /steps >}}
