Build one website locally by using Hugo

This can be done by following the guide, quick-start.

Deploy the website on GitHub repository

You can use GitHub Pages to host your hugo site.

Deploy the website on ECS

  • Have one ECS instance
  • Setup web server, like nginx, on this ECS instance
  • Use webhook and git to pull the static file from git repository Notes to use webhook:
    1. -secure is used to enable https access.
    2. -cert and -key, are to be used with the flag -secure
    3. Hook Definition trigger-rule - specifies the rule that will be evaluated in order to determine should the hook be triggered. Check Hook rules page to see the list of valid rules and their usage