Files
docs/.hanzo/workflows/deploy-bootnode-docs.yml
T
zeekay af79d739da Restore the forge workflows
The forge mirror of this repo (git.hanzo.ai/hanzoai/docs) reads
.hanzo/workflows and runs them: the last docs.hanzo.ai publish was
deploy.yml building 1d4202206c. With them gone, nothing publishes the site.

This reverts commit 891b8cc999.

Claude-Session: https://claude.ai/code/session_01HuMDfgFssPUptYUzgZ6Cp8
2026-09-24 14:54:01 -07:00

37 lines
997 B
YAML

name: Deploy Bootnode Docs
on:
push:
branches: [main]
paths:
- 'apps/bootnode-docs/**'
- 'packages/**'
- '.hanzo/workflows/deploy-bootnode-docs.yml'
workflow_dispatch:
jobs:
deploy:
runs-on: hanzo-docs-build-linux-amd64
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
# apps/bootnode-docs runs its build:pre and build:post hooks under bun.
- uses: oven-sh/setup-bun@v2
- run: pnpm install --frozen-lockfile
- run: pnpm build --filter bootnode-docs
- name: Publish to the Sites plane
uses: https://git.hanzo.ai/hanzoai/ci/.github/actions/site@v1
with:
slug: bootnode
dir: apps/bootnode-docs/out
env:
KMS_CLIENT_ID: ${{ secrets.KMS_CLIENT_ID }}
KMS_CLIENT_SECRET: ${{ secrets.KMS_CLIENT_SECRET }}