step-security/Deploy to Cloudflare Workers with Wrangler

Deploy your Cloudflare projects from GitHub using Wrangler

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
apiTokenYour Cloudflare API Tokenno
accountIdYour Cloudflare Account IDno
quietSupresses output from Wrangler commands, defaults to `false`nofalse
environmentThe environment you'd like to deploy your Workers project to - must be defined in wrangler.toml
workingDirectoryThe relative path which Wrangler commands should be run fromno
wranglerVersionThe version of Wrangler you'd like to use to deploy your Workers projectno
secretsA string of environment variable names, separated by newlines. These will be bound to your Worker as Secrets and must match the names of environment variables declared in `env` of this workflow.no
preCommandsCommands to execute before deploying the Workers projectno
postCommandsCommands to execute after deploying the Workers projectno
commandThe Wrangler command (along with any arguments) you wish to run. Multiple Wrangler commands can be run by separating each command with a newline. Defaults to `"deploy"`.no
varsA string of environment variable names, separated by newlines. These will be bound to your Worker using the values of matching environment variables declared in `env` of this workflow.no
packageManagerThe package manager you'd like to use to install and run wrangler. If not specified, the preferred package manager will be inferred based on the presence of a lockfile or fallback to using npm if no lockfile is found. Valid values are `npm` | `pnpm` | `yarn` | `bun`.no
gitHubTokenGitHub Tokenno
namedescription
command-outputThe output of the Wrangler command (comes from stdout)
command-stderrThe error output of the Wrangler command (comes from stderr)
deployment-urlIf the command was a Workers or Pages deployment, this will be the URL of the deployment
pages-deployment-alias-urlIf the command was a Pages deployment, this will be the URL of the deployment alias (if it exists) - needs wrangler >= 3.78.0
pages-deployment-idIf the command was a Pages deployment, this will be the ID of the deployment - needs wrangler >= 3.81.0
pages-environmentIf the command was a Pages deployment, this will be the environment of the deployment - needs wrangler >= 3.81.0