forked from cloudflare/pages-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
34 lines (34 loc) · 889 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
workingDirectory:
description: "The working directory in which to run Wrangler"
required: false
wranglerVersion:
description: "The version of Wrangler to use"
required: false
default: "2"
runs:
using: "node16"
main: "index.js"