News for hackers. Stuff that matters.
Re:Ask HN: Cheapest/easiest way to host a static site? by foobar33333 on Friday March 26, 2021 @05:48PM (#26597366)
gitlab pages is better imo. You can use the CI to run any code you want to build the static files.
Re:Ask HN: Cheapest/easiest way to host a static site? by gala8y on Friday March 26, 2021 @05:57PM (#26597464)
Also, GitLab allows business websites in GitLab pages in free tier, as opposed to Netlify and Github.

"With GitLab Pages, you can publish static websites directly from a repository in GitLab. Use for any personal or business website."

Re:Ask HN: Cheapest/easiest way to host a static site? by lostmsu on Friday March 26, 2021 @06:39PM (#26597862)
GitHub allows business websites, AFAIK. Where did you get the notion, that it does not?
Re:Ask HN: Cheapest/easiest way to host a static site? by bombcar on Friday March 26, 2021 @06:44PM (#26597896)
https://docs.github.com/en/github/working-with-github-pages/...

"GitHub Pages is not intended for or allowed to be used as a free web hosting service to run your online business, e-commerce site, or any other website that is primarily directed at either facilitating commercial transactions or providing commercial software as a service (SaaS)."

Now one could read that as "don't build a SaaS on top of GitHub Pages", but you could also read that as "don't have business websites on GitHub Pages".

Re:Ask HN: Cheapest/easiest way to host a static site? by shhsshs on Friday March 26, 2021 @09:22PM (#26598978)
That wording specifically disallows both commercial sites and SaaS, so it should be read as both "don't build a SaaS on top of GitHub Pages" and "don't have business websites on GitHub Pages"
Re:Ask HN: Cheapest/easiest way to host a static site? by jedbrown on Friday March 26, 2021 @07:58PM (#26598438)
Notably, it's easy to make a review site that integrates with a merge request so you can see it before deploying and get visual reviews any time you have multiple stakeholders. https://docs.gitlab.com/ee/ci/review_apps/
Re:Ask HN: Cheapest/easiest way to host a static site? by lights0123 on Friday March 26, 2021 @07:42PM (#26598332)
> You can use the CI to run any code you want to build the static files.

That is Netlify and Cloudflare Pages' defining feature, and GitHub has had that for a few years now.