Automatic Deploys

Nhost deploys your project everytime new code is pushed to the branch connected to it.

Pipeline

During a deployment, the following happens:

1

Pull Repository

Nhost pulls down your connected repository, and deletes it after the deployment completes.

2

Update Configuration

Nhost makes sure the state of your cloud instance reflects the one described in ./nhost/nhost.toml.

3

Apply Database Migrations

New migrations present in ./nhost/migrations are applied to your PostgreSQL instance.

4

Apply Metadata Changes

Metadata changes from ./nhost/metadata are applied to the Hasura Instance.

5

Deploy Functions

Functions inside ./functions are deployed.