You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a2a7fbb
Browse filesBrowse the repository at this point in the historyBrowse files
ci: check every push and PR; deploy main to production, any ref to staging
- checks.yml (reusable): npm ci, lint, format check, build.
- ci.yml: runs the checks on every push and pull request; a push to main
that passes deploys to the production environment.
- deploy-staging.yml: manual (workflow_dispatch) deploy of a branch, tag,
commit, or pull request number to the staging environment, after the
same checks.
- deploy.yml (reusable): writes .env from the environment's secrets and
variables (the app loads its OAuth settings from .env, and harper deploy
ships the working directory), runs npm run deploy, then
scripts/check-site.sh.
- scripts/check-site.sh: waits for three consecutive healthy page loads;
if the site isn't healthy in time (typically the missing
.harper-vite-ssr render bundle after a deploy), restarts the HTTP
workers on every node once and checks again, failing the job if that
doesn't fix it.
The README's deploy section now describes this pipeline and the settings
each environment needs, replacing the description of a CI setup that
didn't exist.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments