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
websiteand set it'sAccess PolicytoPublic(via web console or withmc policy set download your_alias/website). - Create a new user via MINIO web console and grant them e.g.
readwritepolicy (or some other policy assigned to yourwebsitebucket).
- 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
USERNAMEwith the name of the user having access to thewebsitebucket andPASSWORDwith their password.
- If deploying to MINIO instance, replace