Vercel can automatically build and publish Web static projects online relying on Git repository, support custom domain name, can automatically issue SSL certificate, enable HTTPS, another feature, has a global CDN, domestic speed is good.

Support for multiple frameworks and templates, such as: HUGO, Jekyll, Hexo, Next, Vue…

Registered account

throughGitWarehouse account associated registration, if there is an error in the registration, check the account is notQQThe mailbox.

Vercel does not support QQ mailbox. Take GitHub as an example, you can change the default mailbox of GitHub.

GitHub -> Settings -> Emails -> Primary email address

Import the project

Enter your project address

Select your account

Install Vercel online

Authorize Vercel, and select the authorization project

GitHub -> Settings -> Applications -> Vercel -> Configure

Import the project and select the project frame

Deployment project

After importing the item, the project will be automatically built and published, with direct access to:https://ichochy.com/

The next time you commit your code to a Git repository, Vercel automatically builds and publishes your project without doing anything

Custom domain name

Directly add the existing domain name, domain name management system configuration domain name records, waiting for the effect.

Vercel -> Project-> Settings -> Domains

It will be automatically issued after it comes into forceSSLCertificate, openHTTPS

Specify the HUGO version

Add the HUGO version to the project’s environment variables

Vercel -> Project-> Settings -> Environment Variables

HUGO_VERSION 0.74.2

Republish when you’re done

Build Logs 12:21:18. 550 Cloning github.com/iChochy/iChochy.github.io (Branch: master, Commit: A169DE0) 12:21:19.212 Cloning completed in 662MS 12:21:19.213 Analyzing source code... 12:21:19. 799 Installing build runtime... 12:21:20.94 Build runtime installed: 394.753ms 12:21:20.575 Looking up Build cache installed... M.E.... 12:21:20.647 Build Cache Downloaded [206.00b]: The package is from MS 12:21:21.022 package with Hugo version 0.74.2 and 12.21:21.078 package dependencies... 12:21:23.290 yarn install v1.22.4 12:21:23.302 info No lockfile found. 12:21:23.306 [1/4] Resolving package... 12:21:23. 306 (2/4) Fetching packages... 12:21:23. 309 (3/4) Linking dependencies... 12:21:23.312 [4/4] Building Fresh Packages... 12:21:23.15 success Saved lockfile. 12:21:23.16 Done in 0.03s. 12:21:23.515 Building sites... 12:21:23. 515 | EN 12:21:23. 515 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - + -- -- -- -- -- - 12:21:23. 515 Pages | 109 12:21:23. 515 Paginator Pages | 4 12:21:23. 515 Non - page files | 0 12:21:23. 515 Static files 13 12:21:23. | | 0 12:21:23. 515 Processed images 515 Aliases | 1 12:21:23. 515 Sitemaps 12:21:23 | 1. 515 Cleaned | 0 12:21:23. 515 Total in 162 ms 12:21:23. Uploading 776 build outputs... 12:21:31.360 Build Completed. Populating Build Cache... Uploading Cache [220.00B]... 12:21:31.614 Build cache match: 156.776ms 12:21:31.620 Done with "config.toml"

Related articles

  • Hugo directory details, create your own website system 2020/08/10

  • Create your own blog for free, Hugo+Github Pages 2020/08/02

  • Personal webmaster accelerator – baidu cloud acceleration 2020/06/22

  • Enable all-site HTTPS 2019/10/08 via CloudFlare

  • Jekyll-admin setup and use 2019/09/25

Source: https://ichochy.com/posts/20200822/