foxglove/Deploy to Cloudflare

Deploy to Cloudflare Pages or Workers with preview support and GitHub Deployments

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
typeDeploy type: 'pages' for Cloudflare Pages or 'workers' for Cloudflare Workers (default: workers)noworkers
apiTokenCloudflare API tokenyes
accountIdCloudflare account IDno
directoryDirectory of static assets to deploy (required for Pages)no
projectNameCloudflare Pages project name (required for Pages). Also used as the GitHub Deployment environment label. no
environmentWrangler environment name (--env flag). When unset, Workers preview deploys auto-detect env.preview in wrangler.jsonc / wrangler.json and apply --env preview if present, so previews bind to env.preview resources instead of production resources. Set this to override the auto-detection or to apply an env to production deploys. no
workingDirectoryDirectory to run wrangler commands fromno
gitHubTokenGitHub token for creating Deployment statuses. When provided, a GitHub Deployment is created with the deployment URL so it appears in the repo's Deployments tab and on PRs. no
deployAttemptsNumber of deploy attempts before failing (default: 3)no3
productionBranchBranch name that triggers a production deploy (default: main)nomain
previewDeployWhether to deploy preview environments for non-production branches (default: true)notrue
namedescription
urlURL of the Cloudflare deployment
command-outputStandard output from the wrangler command
command-stderrStandard error from the wrangler command