Skip to content
Snippets Groups Projects
Unverified Commit 6e7929ec authored by calalloo's avatar calalloo Committed by GitHub
Browse files

Update deploy-a-hugo-site.md (#10015)


* Update deploy-a-hugo-site.md

* Update content/pages/framework-guides/deploy-a-hugo-site.md

---------

Co-authored-by: default avatardryscord <139716273+dryscord@users.noreply.github.com>
Co-authored-by: default avatarKate Tungusova <70746074+deadlypants1973@users.noreply.github.com>
parent 9837de93
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,7 @@ $ hugo -b $CF_PAGES_URL
{{</Aside>}}
After completing configuration, click the **Save and Deploy** button. You should see Cloudflare Pages installing `hugo` and your project dependencies, and building your site, before deploying it.
After completing deployment configuration, select the **Save and Deploy**. You should see Cloudflare Pages installing `hugo` and your project dependencies, and building your site, before deploying it.
{{<Aside type="note">}}
......@@ -196,11 +196,11 @@ For the complete guide to deploying your first site to Cloudflare Pages, refer t
After deploying your site, you will receive a unique subdomain for your project on `*.pages.dev`.
Every time you commit new code to your Hugo site, Cloudflare Pages will automatically rebuild your project and deploy it. You will also get access to [preview deployments](/pages/platform/preview-deployments/) on new pull requests, so you can preview how changes look to your site before deploying them to production.
## Use a specific Hugo version
## Use a specific or newer Hugo version
To use a [specific version of Hugo](https://github.com/gohugoio/hugo/releases), create the `HUGO_VERSION` environment variable in your Pages project > **Settings** > **Environment variables**. Set the value as the Hugo version you want to specify.
To use a [specific or newer version of Hugo](https://github.com/gohugoio/hugo/releases), create the `HUGO_VERSION` environment variable in your Pages project > **Settings** > **Environment variables**. Set the value as the Hugo version you want to specify (v0.112.0 or later is recommended for newer versions).
For example, `HUGO_VERSION`: `0.110.0`.
For example, `HUGO_VERSION`: `0.115.4`.
{{<Aside type="note">}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment