Public-facing marketing site for Polis, built with Astro + Tailwind.
npm install
npm run devnpm run buildThe repository includes a GitHub Actions workflow at:
.github/workflows/deploy.yml
It deploys to GitHub Pages on pushes to main.
This project supports a lightweight client-side preview gate for internal testing.
Environment variables:
PREVIEW_GATE_ENABLED=trueenables the gate.PREVIEW_PASSWORD_SHA256=<sha256 hex digest>sets the accepted password hash.
node -e "const crypto=require('crypto');console.log(crypto.createHash('sha256').update(process.argv[1]).digest('hex'))" "your-strong-password"- In repository settings, add a secret named
PREVIEW_PASSWORD_SHA256containing the hash. - Enable GitHub Pages and set source to GitHub Actions.
The gate is intentionally lightweight and suitable only for low-risk preview protection.