How to create a free Web (ASTRO/HUGO/Jekyll) with Github Pages

How to create a free Web (ASTRO/HUGO/Jekyll) with Github Pages

September 8, 2024

It does not really matter if you want to use HUGO, ASTRO or Jekyll.

With Github Pages we can host you Static Files (like the outputs of a SSG), that creates a good looking website.

You get a (sub)domain as well.

And all for free.

Actually, you could also have some markdown docs. With folders and readme’s.

That’s how I started documenting my learning process.

And since then it has bloomed and become this site.

If you are into R language, you can also try with the RKnit Package.

But I promise that having a quick look to SSGs is totally worth it.

Whats also great?

To forget about building your site.

Commit your changes. Push. And let Github Actions CI/CD Workflows do the rest.

These are example of CI/CD depending on your desired SSG:

  1. HUGO + Github Pages
  2. Jekyll + Github Pages
  3. Astro + Github Pages

They are executed on push on certain branches / manually - All as per your GHA WF .yml configuration.

And if you need 101 on those SSGs:

  1. HUGO 101
  2. Astro 101 and https://jalcocert.github.io/JAlcocerT/using-astro-templates/
  3. See also https://jalcocert.github.io/JAlcocerT/understanding-astro-ssg-components/

Alternatively, you can have a look to other static hostings:

  1. Firebase
  2. Cloudflare pages
  3. Netlify, Vercel, AWS s3…