perladvent / perldotcom

The source code for Perl.com website
https://www.perl.com
77 stars 80 forks source link

Document how to use a pinned version of Hugo #345

Open oalders opened 10 months ago

oalders commented 10 months ago

Maybe this is in the docs already, but one way to deploy locally using the required Hugo version is:

docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.59.1-ubuntu server

We could look at doing this in a GitHub action so that we have the site output for the staging repo.