You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cloudflare-pages-action/action.yml

32 lines
840 B
YAML

3 years ago
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: false
branch:
description: "The name of the branch you want to deploy to"
required: false
default: "${{ github.head_ref || github.ref_name }}"
workingDirectory:
description: "The working directory in which to run Wrangler"
required: false
3 years ago
runs:
using: "node16"
main: "index.js"