Skip to content

Commit 674da64

Browse files
committed
ci: deploy relay without d1 migration token
1 parent 0f7819f commit 674da64

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/deploy-cloudflare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ jobs:
130130
- name: Deploy relay
131131
run: |
132132
make relay-deploy-dry-run
133-
make relay-deploy
133+
pnpm --dir relay exec wrangler deploy --domain "$RELAY_DOMAIN"
134134
135135
deploy-workbench:
136136
name: Deploy Workbench Pages

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,10 @@ CLOUDFLARE_API_TOKEN
162162
CLOUDFLARE_ACCOUNT_ID
163163
```
164164

165-
The Cloudflare token must be able to apply D1 migrations, deploy Workers, and
166-
deploy Cloudflare Pages. The workflow uses these defaults:
165+
The Cloudflare token must be able to deploy Workers and Cloudflare Pages. D1
166+
migrations still run through `make relay-deploy`; enable D1 write on the deploy
167+
token before switching the GitHub Actions relay step to that target. The
168+
workflow uses these defaults:
167169

168170
```text
169171
ACP_RUNTIME_REPO_URL=https://github.com/saaskit-dev/acp-runtime.git

0 commit comments

Comments
 (0)