7f81240d2284242a854fafe4e0c6db6514bf305f
Some checks failed
Build and deploy / deploy (push) Failing after 13s
Triggers on push to main and manual workflow_dispatch. Builds with Node 20, runs astro check, builds the static site, then mirrors ./dist via SFTP using the SFTP_* secrets configured on the repo. Password-based SFTP for now (matches the credentials we have). Swap to key-based by adding SFTP_KEY as a secret and tweaking the lftp call when the production site user is created.
kb.anhonesthost.com
The An Honest Host knowledge base — customer documentation for WHP (our hosting platform) and related services.
Live at: https://kb.anhonesthost.com
Run locally
Requires Node 20+ (we test on 22).
npm install
npm run dev
# open http://localhost:4321
To expose the dev server on a different host/port (useful inside containers):
npm run dev -- --host 0.0.0.0 --port 8080
Adding or editing a doc
See CONTRIBUTING.md — it covers the page template, where files live, and how PRs are reviewed.
How it deploys
Push to main triggers a Gitea Actions workflow that builds the site and uploads it via SFTP to the production WHP site. No manual deploy step.
Licence
Content: CC BY 4.0. Build config and scripts: MIT (see source headers if any).
Languages
MDX
69.1%
TypeScript
15.6%
Astro
9.3%
CSS
3.8%
JavaScript
2.2%