The static website for ServiceStack's products. The home page links to mini sites hosted here, like the
Spell & Stone game at /spell-stone, and to related sites like servicestack.net
and react-templates.net.
Built with Next.js (static export), React and Tailwind CSS, and hosted on GitHub Pages.
npm install
npm run dev # http://localhost:3000npm run build # static site in dist/
npm run preview # serve dist/ locallyEvery push to main builds the site and deploys it to GitHub Pages via
.github/workflows/deploy.yml. It can also be run manually from
Actions → Deploy to GitHub Pages → Run workflow.
-
Enable Pages: in the repository go to Settings → Pages → Build and deployment and set Source to GitHub Actions.
-
Custom domain: in Settings → Pages → Custom domain, enter
servicestack.comand save. GitHub checks the DNS records below. -
DNS (at the domain's DNS provider):
Type Name Value A @185.199.108.153A @185.199.109.153A @185.199.110.153A @185.199.111.153AAAA @2606:50c0:8000::153AAAA @2606:50c0:8001::153AAAA @2606:50c0:8002::153AAAA @2606:50c0:8003::153CNAME wwwservicestack.github.ioIf the domain is on Cloudflare, set these records to DNS only (grey cloud) until GitHub has issued the certificate, or keep them proxied with SSL/TLS mode set to Full.
-
HTTPS: once the certificate is issued, tick Enforce HTTPS in Settings → Pages.
-
Recommended: verify
servicestack.comfor the ServiceStack organization (Organization settings → Pages → Add a domain) so no other repository can claim it.