zola/docs/content/documentation/deployment/vercel.md

26 lines
1,023 B
Markdown
Raw Normal View History

2020-07-19 11:56:32 +00:00
+++
title = "Vercel"
2020-07-22 16:40:43 +00:00
weight = 50
2020-07-19 11:56:32 +00:00
+++
Vercel (previously Zeit) is similar to Netlify, making the deployment of your site easy as pie.
The sites are hosted by Vercel and automatically deployed whenever we push a commit to our
selected production branch (e.g, master).
2020-07-19 11:56:32 +00:00
2020-07-22 16:40:43 +00:00
If you don't have an account with Vercel, you can sign up [here](https://vercel.com/signup).
2020-07-19 11:56:32 +00:00
## Automatic deploys
Once you sign up you can import your site from a Git provider (Github, GitLab or Bitbucket).
When you import your repository, Vercel will try to find out what frmaework your site is using.
2020-07-19 11:56:32 +00:00
If it doesn't default to Zola:
- Set Framework Preset as **Zola**.
2020-07-19 11:56:32 +00:00
By default, Vercel chooses output directory as `public`. If you use a different directory, then
specify output directory under the "Build and Output Settings" dropdown.
You can learn more about how to setup a custom domain and how to get the most out of Vercel
[via their documentation.](https://vercel.com/docs)
2020-07-19 11:56:32 +00:00
After you click the blue "Deploy" button, it's off to the races!