3 ms·
The fix for this is GitHub Actions and GitHub Pages. That way you don't have to run any software yourself at all - the build process runs entirely on GitHub for
by simonw 2y ago
The fix for this is GitHub Actions and GitHub Pages. That way you don't have to run any software yourself at all - the build process runs entirely on GitHub for you, and it's free as well.
I'm surprised I haven't come across more examples of people using GitHub Actions with static site generators like this. Ideally someone would share a GitHub repository template that comes pre-configured with a good static site generator which people could then use as a one-click starting point for their own sites.
I've considered building one of those myself but I tend not to use static site generators (I like Baked Data instead: https://simonwillison.net/2021/Jul/28/baked-data/ https://simonwillison.net/2021/Jul/28/baked-data/) so I'm not a great person to take on that project.
- spondylosaurus 2y agoThe GitHub Pages splash page (https://pages.github.com/ https://pages.github.com/) has a nice little interactive tutorial for just that, and I've seen plenty of repo templates for various SSGs/themes, but I think a lot of users still run into the following hurdles: - Not knowing what GitHub is or how it works (let alone Git itself) - Not knowing how to clone a repo - Not knowing what program you need to modify the files in a repo, or how to use it - Not knowing how to make/push commits - Not knowing how to build local previews to see your changes before they take effect
- syndicatedjelly 2y agoA previous version of my personal website was scaffolded entirely in HTML and a handful of CSS. I used pandoc as a markdown to HTML converter for blog posts, and wrote a short bash script to package everything up into a bundle of HTML files. GitHub Actions and GH pages were also used like you describe, and then finally I just pointed my domain to the hosted page on GitHub Actions. It worked flawlessly https://github.com/AshwinSundar/ashwinsundar/commit/6887c2018da5780af923c2e9cd6d20c7e7e023cd https://github.com/AshwinSundar/ashwinsundar/commit/6887c201...