pages-action/action.yml
2022-06-29 18:31:02 -07:00

28 lines
676 B
YAML

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"
required: true
branch:
description: "The name of the branch you want to deploy to"
required: false
runs:
using: "node16"
main: "index.js"