Pages overview
Fjord Pages is managed static hosting that ships with a Fjord forge. Publish to
it straight from a workflow with pages-deploy-action, the drop-in replacement
for actions/deploy-pages.
Deploy on push
.forgejo/workflows/pages.yml
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: https://rasterhub.com/rasterstate/pages-deploy-action@v1
with:
site-id: ${{ vars.FJORD_PAGES_SITE_ID }}
deploy-token: ${{ secrets.FJORD_PAGES_DEPLOY_TOKEN }}
build-command: pnpm install --frozen-lockfile && pnpm build
output-dir: buildGet the site-id and reveal a deploy-token from the instance’s Pages panel
(Manage Pages). Store the token as an Actions secret; it is write-only and
scoped to that instance’s sites.
Tip
This very site is built with Northstar and deploys to Fjord Pages the same way.
Omit `build-command` to upload a pre-built directory from your own CI instead.
Contributors
- Stephen Way