wrangler-action/action.yml

42 lines
1.4 KiB
YAML
Raw Normal View History

2020-06-16 06:09:55 +02:00
name: "Deploy to Cloudflare Workers with Wrangler"
2019-10-15 17:14:20 +02:00
branding:
2020-06-16 06:09:55 +02:00
icon: "upload-cloud"
color: "orange"
2022-05-09 12:49:03 +02:00
description: "Deploy your Cloudflare Workers and Pages projects from GitHub using Wrangler"
2019-10-07 21:41:21 +02:00
runs:
2020-06-16 06:09:55 +02:00
using: "docker"
image: "Dockerfile"
2019-10-11 21:25:47 +02:00
inputs:
apiKey:
description: "(Legacy) Your Cloudflare API Key"
2022-05-09 12:49:03 +02:00
required: false
email:
description: "(Legacy) Your Cloudflare Email"
2022-05-09 12:49:03 +02:00
required: false
apiToken:
description: "Your Cloudflare API Token"
required: false
accountId:
description: "Your Cloudflare Account ID"
required: false
environment:
description: "The environment you'd like to publish your Workers project to - must be defined in wrangler.toml"
workingDirectory:
description: "The relative path which Wrangler commands should be run from"
2022-05-09 12:49:03 +02:00
required: false
wranglerVersion:
description: "The version of Wrangler you'd like to use to publish your Workers project"
2022-05-09 12:49:03 +02:00
required: false
2020-06-16 06:09:55 +02:00
secrets:
description: "A new line deliminated string of environment variable names that should be configured as Worker secrets"
required: false
2020-08-07 23:16:42 +02:00
preCommands:
description: "Commands to execute before publishing the Workers project"
required: false
postCommands:
description: "Commands to execute after publishing the Workers project"
required: false
2022-05-09 12:49:03 +02:00
command:
description: "The Wrangler command you wish to run. For example: \"publish\" - this will publish your Worker"
2020-08-12 05:46:42 +02:00
required: false