mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 22:17:28 +00:00
Update hosting-on-render.md (#1286)
The flow for creating static sites in the Render dashboard was recently simplified
This commit is contained in:
1 parent
8f02b54124
commit
087b39d74e
1 file changed
+1
-2
@@ -46,12 +46,11 @@ Static sites are **completely free** on Render and include the following:
|
|||||||
|
|
||||||
You can set up a Hugo site on Render in two quick steps:
|
You can set up a Hugo site on Render in two quick steps:
|
||||||
|
|
||||||
1. Create a new **Web Service** on Render, and give Render permission to access your GitHub/Gitlab repo.
|
1. Create a new **Static Site** on Render, and give Render permission to access your GitHub/Gitlab repo.
|
||||||
2. Use the following values during creation:
|
2. Use the following values during creation:
|
||||||
|
|
||||||
Field | Value
|
Field | Value
|
||||||
------------------- | -------------------
|
------------------- | -------------------
|
||||||
**Environment** | `Static Site`
|
|
||||||
**Build Command** | `hugo --gc --minify` (or your own build command)
|
**Build Command** | `hugo --gc --minify` (or your own build command)
|
||||||
**Publish Directory** | `public` (or your own output directory)
|
**Publish Directory** | `public` (or your own output directory)
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user