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
40 changes: 40 additions & 0 deletions .github/workflows/deploy-cloudflare.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Deploy Cloudflare

on:
workflow_dispatch:

concurrency:
group: deploy-cloudflare-production
cancel-in-progress: false

permissions:
contents: read

jobs:
deploy:
name: Deploy affected Workers
runs-on: ubuntu-latest
timeout-minutes: 45
steps:
- name: Checkout reviewed release
uses: actions/checkout@v4

- name: Set up pnpm
uses: pnpm/action-setup@v4
with:
version: 11.15.0

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: pnpm

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

- name: Deploy affected Workers
run: pnpm cloudflare:deploy
env:
CLOUDFLARE_ACCOUNT_ID: ${{ vars.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
8 changes: 3 additions & 5 deletions knip.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@
"entry": ["drizzle.config.ts", "src/schema/drizzle.ts"]
},
"infra/containers/sandbox/browser-driver": {
// The snapshot launches this service from the immutable browser-driver
// launcher. Playwright and Zod are Stagehand peers, and the Docker build
// invokes Playwright's CLI to install the matching Chromium artifact.
"entry": ["server.js"],
// The snapshot installs these as Stagehand runtime peers. Knip cannot see
// that dependency edge because it is resolved inside the Docker image.
"ignoreDependencies": ["playwright-core", "zod"]
},
"infra/containers/sandbox/skill-runtime": {
"entry": ["bin/*.mjs"],
// Snapshot launchers resolve these executables by installed binary name;
// neither child-process execution nor Docker symlinks are visible to Knip.
// Knip cannot infer that Docker runtime edge.
"ignoreDependencies": ["agent-browser", "tsx"],
"ignoreBinaries": ["agent-browser"]
}
Expand Down
Loading