Update site/Dockerfile to use pinned hugo version

Version pinned in hack/go.mod.
Use `make tools` to update the pinned version to match netlify.toml
This commit is contained in:
Karl Isenberg
2024-04-02 14:26:31 -07:00
parent b3d1df2644
commit 2c68a4d2d4
5 changed files with 24 additions and 15 deletions

View File

@@ -60,6 +60,8 @@ If you see errors, it probably means that the hugo container did not have enough
Open up your browser to <http://localhost:1313> to view the website. As you make changes to the source files, Hugo updates the website and forces a browser refresh.
If you need to update the `HUGO_VERSION`, edit it in the [`netlify.toml`](netlify.toml#L7) file and then run `make tools` to update the pinned version of Hugo in [hack/go.mod](/hack/go.mod#L9).
## Running the website locally using Hugo
Make sure to install the Hugo extended version specified by the `HUGO_VERSION` environment variable in the [`netlify.toml`](netlify.toml#L7) file.