Skip to content

Replace GitHub dispatch with Cloudflare Workers Builds#20

Draft
hasparus wants to merge 1 commit into
mainfrom
cloudflare-builds-deploy
Draft

Replace GitHub dispatch with Cloudflare Workers Builds#20
hasparus wants to merge 1 commit into
mainfrom
cloudflare-builds-deploy

Conversation

@hasparus

Copy link
Copy Markdown
Collaborator

Closes #19

Summary

  • triggerDeploy now calls Cloudflare Builds API instead of GitHub repository_dispatch
  • Remove GITHUB_TOKEN, add CLOUDFLARE_BUILDS_* env vars
  • Delete publish.yml workflow

Before merging

  1. Enable Workers Builds for graphqlweekly-v2 in Cloudflare dashboard (Settings > Builds > Connect)
  2. Set secrets on the API worker:
    wrangler secret put CLOUDFLARE_ACCOUNT_ID
    wrangler secret put CLOUDFLARE_BUILDS_API_TOKEN
    wrangler secret put CLOUDFLARE_BUILDS_TRIGGER_ID
  3. Delete old secret: wrangler secret delete GITHUB_TOKEN

- triggerDeploy now calls Cloudflare Builds API instead of GitHub repository_dispatch
- Remove GITHUB_TOKEN, add CLOUDFLARE_BUILDS_* env vars
- Delete publish.yml workflow (no longer needed)

Closes #19
@github-actions

Copy link
Copy Markdown

🔮 Preview Deployment

Package URL Commit Deployed
api https://cloudflare-builds-deploy-api.graphqlweekly.com/graphql d0af5d6 2026-02-23 15:21 UTC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace GitHub dispatch with Cloudflare Workers Builds

1 participant