Dashboard › craft › Distillation
4c5fd470-b6d6-4200-b37d-cd00c0801df8["335fe58006558e452ee4d53452758a05","167a237807fff918fb83c0b3e979acdd","7cbbc6c688d0c47b3f5519fde443d847","db42a07ca8d2ca9f48ae475be093cfab"]
Date: Jul 21, 2026
exit 0 (recommended by Cloudflare to still access features like Pages Functions), Build output directory = <YOUR_BUILD_DIR> (custom, no default). Notes that 404s on *.pages.dev are usually caused by missing top-level index.html.wrangler pages deploy.CLOUDFLARE_ACCOUNT_ID=<ACCOUNT_ID> npx wrangler pages deploy <DIRECTORY> --project-name=<PROJECT_NAME>..github/workflows/pages-deployment.yaml) uses actions/checkout@v6 then cloudflare/wrangler-action@v3 with inputs apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}, accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}, command: pages deploy YOUR_DIRECTORY_OF_STATIC_ASSETS --project-name=YOUR_PROJECT_NAME, gitHubToken: ${{ secrets.GITHUB_TOKEN }}; job-level permissions: contents: read, deployments: write. Workflow triggers on current git branch unless branch option is added..circleci/config.yml) job Publish-to-Pages uses docker image cimg/node:18.7.0, steps: checkout, npm install && npm run build, then npx wrangler pages deploy dist --project-name=<PROJECT NAME>; workflow name Publish-to-Pages-workflow. Doc notes Wrangler requires Node ≥ 16.17.0.dist in npx wrangler pages deploy dist --project-name=<PROJECT NAME> with the actual build output directory, and replace <PROJECT NAME> with the real Cloudflare Pages project name..travis.yml) sets node_js: "18.0.0", restricts to a specified branch (e.g. travis-ci-test), script runs npm run build then npx wrangler pages deploy dist --project-name=<PROJECT NAME>; env vars CLOUDFLARE_ACCOUNT_ID and CLOUDFLARE_API_TOKEN set via Travis dashboard/env block.wrangler pages deploy is Account → Cloudflare Pages → Edit — a single permission group scoped at the account level, where Edit is a superset of Read. Stated next step: confirm the account-list scope requirement for account auto-discovery and verify the Pages permission group structure against the official token-permissions reference docs.