mirror of
https://github.com/cloudflare/wrangler-action.git
synced 2024-11-24 19:04:46 +01:00
3f40637a1c
Some of the stderr, stdout, info & groupings can be a little noisy for some users and use cases. This feature allows for a option to be passed 'quiet: true' this would significantly reduce the noise. There will still be output that lets the user know Wrangler Installed and Wrangler Action completed successfully. Any failure status will still be output to the user as well, to prevent silent failures. resolves #142
42 lines
1.8 KiB
YAML
42 lines
1.8 KiB
YAML
name: "Deploy to Cloudflare Workers with Wrangler"
|
|
branding:
|
|
icon: "upload-cloud"
|
|
color: "orange"
|
|
description: "Deploy your Cloudflare projects from GitHub using Wrangler"
|
|
runs:
|
|
using: "node16"
|
|
main: "dist/index.mjs"
|
|
inputs:
|
|
apiToken:
|
|
description: "Your Cloudflare API Token"
|
|
required: false
|
|
accountId:
|
|
description: "Your Cloudflare Account ID"
|
|
required: false
|
|
quiet:
|
|
description: "Supresses output from Wrangler commands, defaults to `false`"
|
|
required: false
|
|
default: "false"
|
|
environment:
|
|
description: "The environment you'd like to deploy your Workers project to - must be defined in wrangler.toml"
|
|
workingDirectory:
|
|
description: "The relative path which Wrangler commands should be run from"
|
|
required: false
|
|
wranglerVersion:
|
|
description: "The version of Wrangler you'd like to use to deploy your Workers project"
|
|
required: false
|
|
secrets:
|
|
description: "A 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."
|
|
required: false
|
|
preCommands:
|
|
description: "Commands to execute before deploying the Workers project"
|
|
required: false
|
|
postCommands:
|
|
description: "Commands to execute after deploying the Workers project"
|
|
required: false
|
|
command:
|
|
description: 'The 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"`.'
|
|
required: false
|
|
vars:
|
|
description: "A 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."
|
|
required: false
|