workers-sdk
workers-sdk copied to clipboard
🐛 BUG: CircleCI deploy pages
trafficstars
What version of Wrangler are you using?
2.0.25
What operating system are you using?
Ubuntu 20.04
Describe the Bug
When I'm running deploy locally:
CLOUDFLARE_ACCOUNT_ID=********** npx wrangler pages publish dist/apps/breath --project-name=breathe
It works fine.
However in circle ci when I set it through like the docs:
deploy:
docker:
- image: cimg/node:18.7.0
environment:
CLOUDFLARE_ACCOUNT_ID: $CLOUDFLARE_ACCOUNT_ID
CLOUDFLARE_API_TOKEN: $CLOUDFLARE_API_TOKEN
steps:
- checkout
- bt-yarn-install
- run: yarn build
- setup_remote_docker:
version: 20.10.14
- run: yarn deploy
I'm getting this error:

I've set the environment variables on Circle CI as per the docs