Repository navigation
0010 pages hosting
github-actions[bot] edited this page Nov 17, 2026
·
2 revisions
Status: accepted · Implementation: done · Date: 2026-11-17
Settles the hosting question ADR 0009 left open. Built: the workflow, the build check, the Pages source and custom domain. First deploy 2026-11-17: GitHub serves the site for librelifts.app. Still open at that date: DNS for the domain did not yet point at GitHub, so the address was not reachable and Enforce HTTPS was off.
ADR 0009 made the website a static Astro site and left hosting open. The site is a folder of files with no server-side logic. The repository is public and on GitHub, where Pages hosts static sites for free, and Spotcraft's website is already published the same way.
- GitHub Pages hosts the website, with the repository's Pages source set to GitHub Actions.
-
.github/workflows/pages.ymldeploys it on every push tomainthat touches the website, and can be run by hand. -
The address is
librelifts.app, set as the Pages custom domain and inapps/website/public/CNAME.sitein the Astro config uses it. -
The build checks itself: it fails if a built page has a
<script>, or a link, anchor or asset on it doesn't resolve.
- A change to the website on
mainis live within minutes, with no server to run. - Pages can't send response headers. That is fine for this site; the web app (ADR 0007) is not hosted here, and where it runs is a separate decision.
-
.appdomains only work over HTTPS, so the site is unreachable until DNS points at GitHub and the certificate has been issued. - The website depends on GitHub being up, and on the domain being renewed.
Generated from docs/ on dev. Edit the docs there; changes made on the wiki are overwritten.
- Development
- Parity with StrongLifts
- Workflow
-
Decisions
- 0001 Decisions are recorded as ADRs
- 0002 Apache License 2.0
- 0003 Parity with StrongLifts, everything free
- 0004 iOS, Android and web
- 0005 Local-first; accounts and sync later through Spotcraft
- 0006 openweight for import and export, not for storage
- 0007 One Expo app, wrapped in Electron for desktop
- 0008 A pnpm workspace with app, desktop and core
- 0009 The website is static Astro in apps/website
- 0010 The website is hosted on GitHub Pages at librelifts.app
- 0011 docs/ is for developers and is mirrored to the wiki
- 0012 Changes land on dev by fast-forward; main is the last release