Private website using static site generator Hugo
Ensure hugo v0.88.1
is installed.
The default deploy target is my website. If there is a need to deploy to some other target, add it under config.toml
.
Example steps for using with MINIO instance:
- Create a new bucket called
website
and set it'sAccess Policy
toPublic
(via web console or withmc policy set download your_alias/website
). - Create a new user via MINIO web console and grant them e.g.
readwrite
policy (or some other policy assigned to yourwebsite
bucket).
- Build by running
hugo
- Deploy by running
AWS_ACCESS_KEY_ID="USERNAME" AWS_SECRET_ACCESS_KEY="PASSWORD" hugo deploy
- If deploying to MINIO instance, replace
USERNAME
with the name of the user having access to thewebsite
bucket andPASSWORD
with their password.
- If deploying to MINIO instance, replace