Skip to content

Change worker account#126

Open
simonabadoiu wants to merge 3 commits intomasterfrom
change-worker-account
Open

Change worker account#126
simonabadoiu wants to merge 3 commits intomasterfrom
change-worker-account

Conversation

@simonabadoiu
Copy link

@simonabadoiu simonabadoiu commented Feb 5, 2026

Type of Change

  • Something else: CI/CD configuration and Wrangler deployment settings>

What issue does this relate to?

Migration to unified cdnjs Cloudflare account credentials. And move to another cf account

What should this PR do?

  • Update GitHub Actions workflows to use unified CLOUDFLARE_CDNJS_ACCOUNT_ID secret instead of separate staging/production credentials
  • Add account_id directly to wrangler.toml configuration
  • Update KV namespace IDs for both staging and production environments to match the new account
  • Remove route configurations from environment-specific settings (this is temporary)

What are the acceptance criteria?

  • Staging deployment succeeds with new credentials and KV namespace
  • Production deployment succeeds with new credentials and KV namespace
  • API endpoints remain functional after deployment
  • Sentry integration continues to work correctly

@simonabadoiu simonabadoiu changed the base branch from staging to master February 5, 2026 17:36
MattIPv4
MattIPv4 previously approved these changes Feb 5, 2026
- Add account_id to main configuration
- Remove default KV namespace binding
- Update staging KV namespace ID
- Update production KV namespace ID
- Remove route configurations from staging and production environments
- Replace CLOUDFLARE_API_TOKEN_PRODUCTION with CLOUDFLARE_CDNJS_ACCOUNT_ID in production workflow
- Replace CLOUDFLARE_ACCOUNT_ID_PRODUCTION with CLOUDFLARE_CDNJS_ACCOUNT_ID in production workflow
- Replace CLOUDFLARE_API_TOKEN_STAGING with CLOUDFLARE_CDNJS_ACCOUNT_ID in staging workflow
- Replace CLOUDFLARE_ACCOUNT_ID_STAGING with CLOUDFLARE_CDNJS_ACCOUNT_ID in staging workflow
- Replace CLOUDFLARE_CDNJS_ACCOUNT_ID with CLOUDFLARE_CDNJS_API_TOKEN for CLOUDFLARE_API_TOKEN in production workflow
- Replace CLOUDFLARE_CDNJS_ACCOUNT_ID with CLOUDFLARE_CDNJS_API_TOKEN for CLOUDFLARE_API_TOKEN in staging workflow
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.

2 participants