Skip to content

Commit

Permalink
docs: add deploy with netlify (jackyzha0#613)
Browse files Browse the repository at this point in the history
  • Loading branch information
mancuoj authored Dec 2, 2023
1 parent b5fec6c commit 649090d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/hosting.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,17 @@ Using `docs.example.com` is an example of a subdomain. They're a simple way of c
4. Go to the Settings tab and then click Domains in the sidebar
5. Enter your subdomain into the field and press Add

## Netlify

Like Vercel, you can also deploy the site generated by Quartz 4 via Netlify.

1. Log in to the [Netlify dashboard](https://app.netlify.com/) and click "Add new site".
2. Select your Git provider and repository containing your Quartz project.
3. Under "Build command", enter `npx quartz build`.
4. Under "Publish directory", enter `public`.
5. Press Deploy. Once it's live, you'll have a `*.netlify.app` URL to view the page.
6. To add a custom domain, check "Domain management" in the left sidebar, just like with Vercel.

## GitLab Pages

You can configure GitLab CI to build and deploy a Quartz 4 project.
Expand Down

0 comments on commit 649090d

Please sign in to comment.