mirror of
https://github.com/cloudflare/pages-action
synced 2024-12-17 22:20:27 +00:00
5a764d10b6
* Whole bunch of general improvements * debug * Fix env * Add all outputs to workflow * pls fail * Fix deployment saying prod * remove debug * Fix alias issue
28 lines
677 B
YAML
28 lines
677 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: false
|
|
branch:
|
|
description: "The name of the branch you want to deploy to"
|
|
required: false
|
|
runs:
|
|
using: "node16"
|
|
main: "index.js"
|