Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: Deploy Docs to Cloudflare Workers

on:
push:
branches: [main]
Comment on lines +1 to +5

Copilot AI Apr 6, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR metadata indicates the work is complete (all checklist items checked), but the PR title is still marked as "[WIP]". Consider removing the WIP tag or clarifying remaining work so reviewers/automation don’t treat this as not-ready.

Copilot uses AI. Check for mistakes.
paths:
- 'docs/**'
- '.github/workflows/deploy-docs.yml'
workflow_dispatch:

concurrency:
group: deploy-docs-${{ github.ref }}
cancel-in-progress: true

jobs:
deploy:
name: Build & Deploy Docs
runs-on: ubuntu-latest
defaults:
run:
working-directory: docs

steps:
- uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
with:
version: 9

- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
cache-dependency-path: docs/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build docs
run: pnpm build

- name: Deploy to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
workingDirectory: docs
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
package-lock.json
.vitepress/cache
.vitepress/dist
Loading