2022-05-09 21:24:08 +00:00
|
|
|
name: "Cloudflare Pages GitHub Action"
|
|
|
|
description: "Publish to Cloudflare Pages"
|
|
|
|
branding:
|
|
|
|
icon: "upload-cloud"
|
|
|
|
color: "orange"
|
|
|
|
inputs:
|
|
|
|
apiToken:
|
|
|
|
description: "Cloudflare API Token"
|
|
|
|
required: true
|
|
|
|
accountId:
|
|
|
|
description: "Cloudflare Account ID"
|
|
|
|
required: true
|
|
|
|
projectName:
|
|
|
|
description: "The name of the Pages project to upload to"
|
|
|
|
required: true
|
|
|
|
directory:
|
|
|
|
description: "The directory of static assets to upload"
|
|
|
|
required: true
|
|
|
|
gitHubToken:
|
|
|
|
description: "GitHub Token"
|
2022-12-06 16:41:26 +00:00
|
|
|
required: false
|
2022-06-30 01:31:02 +00:00
|
|
|
branch:
|
|
|
|
description: "The name of the branch you want to deploy to"
|
|
|
|
required: false
|
2023-01-03 16:20:15 +00:00
|
|
|
workingDirectory:
|
|
|
|
description: "The working directory in which to run Wrangler"
|
|
|
|
required: false
|
2023-05-21 08:14:37 +00:00
|
|
|
wranglerVersion:
|
|
|
|
description: "The version of Wrangler to use"
|
|
|
|
required: false
|
2023-05-23 17:37:23 +00:00
|
|
|
default: "2"
|
2022-05-09 21:24:08 +00:00
|
|
|
runs:
|
|
|
|
using: "node16"
|
|
|
|
main: "index.js"
|