set up new workflow and migrate to .forgejo dir
Some checks failed
PR Gate / Checks (pull_request) Failing after 17s
Some checks failed
PR Gate / Checks (pull_request) Failing after 17s
This commit is contained in:
parent
c37955c51b
commit
00006a013d
5 changed files with 29 additions and 2 deletions
|
|
@ -49,7 +49,9 @@ See `AGENTS.md` for the full authoring workflow.
|
|||
|
||||
## Deployment
|
||||
|
||||
Netlify deploys the `main` branch automatically. The GitHub Actions PR gate (`.github/workflows/pr.yml`) runs lint, typecheck, tests, and build on every pull request using `pnpm`. Before shipping, verify locally with:
|
||||
The site deploys to Netlify on every push to `main` via a Forgejo Actions workflow (`.forgejo/workflows/deploy.yml`): it installs with pnpm, runs `pnpm build`, and deploys the `build/` directory with `netlify-cli`. Requires `NETLIFY_AUTH_TOKEN` and `NETLIFY_SITE_ID` configured as repository secrets in Forgejo. Netlify's GitHub-app continuous deployment is disabled.
|
||||
|
||||
The GitHub Actions PR gate (`.github/workflows/pr.yml`) runs on the GitHub mirror on every pull request using `pnpm`. Before shipping, verify locally with:
|
||||
|
||||
```bash
|
||||
pnpm lint && pnpm check && pnpm test && pnpm build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue