Pages
What this solves
You want a Vite app deployed from Forgejo without adding a separate hosting control plane.
Vite sites usually need only dependency install, build, artifact sanity check, and Pages publish.
Pages
You want a Vite app deployed from Forgejo without adding a separate hosting control plane.
Vite deployments are simple when the base path and output directory are explicit. Build once in Actions, verify the generated assets exist, then let Pages serve the static output.
name: pages
on: [push]
jobs:
build:
runs-on: docker
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- run: npm ci
- run: npm run build
- run: test -f dist/index.htmlCheck `base` in Vite config when serving from a path.
Make environment variables explicit for production builds.
Use previews before replacing an existing public site.
Plan an Astro static-site deployment with Forgejo Actions and Fjord Pages.
Plan custom domains for static sites deployed from Forgejo workflows.
Plan Docker image builds on Forgejo Actions runners, including cache, registry, and secret handling.