Skip to content

chore(recon): neutralize internal/competitive framing in source comments #11

chore(recon): neutralize internal/competitive framing in source comments

chore(recon): neutralize internal/competitive framing in source comments #11

Workflow file for this run

name: Docs
on:
push:
branches: [main]
paths:
- 'docs/**'
- '.github/workflows/docs.yml'
pull_request:
paths:
- 'docs/**'
workflow_dispatch:
jobs:
build:
name: Build & deploy VitePress
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'
cache-dependency-path: docs/package-lock.json
- name: Install dependencies
working-directory: docs
run: npm ci
- name: Build site
working-directory: docs
run: npm run build
- name: Deploy to Cloudflare Pages
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'workflow_dispatch'
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy docs/.vitepress/dist --project-name=curio-core-docs --branch=main