set up new workflow and migrate to .forgejo dir #5

Merged
baobeld merged 17 commits from refactor/deploy-to-netlify-through-forgejo-workflow into main 2026-08-11 20:55:29 -04:00
3 changed files with 6 additions and 2 deletions
Showing only changes of commit 73fdec95ef - Show all commits

View file

@ -16,6 +16,8 @@ jobs:
version: 11
runtime: node@24
cache: true
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm build
- name: Deploy to Netlify

View file

@ -24,6 +24,8 @@ jobs:
version: 11
runtime: node@24
cache: true
- name: Install deps
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Svelte Check

View file

@ -16,8 +16,8 @@ Personal website and blog for Benjamin Palko, deployed on Netlify.
## Toolchain
- **pnpm is the canonical local package manager**.
- The GitHub Actions PR gate (`.github/workflows/pr.yml`) runs `pnpm`. Keep both working; document pnpm commands.
- Deploys to Netlify run via Forgejo Actions (`.forgejo/workflows/deploy.yml`) on push to `main`. It needs `NETLIFY_AUTH_TOKEN` and `NETLIFY_SITE_ID` as Forgejo repo secrets.
- The PR gate runs via Forgejo Actions (`.forgejo/workflows/pr.yml`) on pull requests to `main`. It installs with `pnpm install --frozen-lockfile` so CI matches a clean local install. Keep both working; document pnpm commands.
- Deploys to Netlify run via Forgejo Actions (`.forgejo/workflows/deploy.yml`) on push to `main`. It needs `NETLIFY_AUTH_TOKEN` and `NETLIFY_SITE_ID` as Forgejo repo secrets. It also installs with `pnpm install --frozen-lockfile`.
## Scripts (pnpm)