generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
38 lines (37 loc) · 1.17 KB
/
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
35
36
37
38
name: 'Deploy a Cloudflare Pages Project'
description: 'Deploy your Cloudflare Pages project, fully integrated into your CI pipeline.'
author: 'Tom Schuster'
branding:
icon: 'upload-cloud'
color: 'orange'
inputs:
api-key:
description: 'API key generated on the Cloudflare "My Account" page'
required: true
email:
description: 'Email address associated with your Cloudflare account'
required: true
account-id:
description: 'Cloudflare account id'
required: true
project-name:
description: 'Name of Cloudflare Pages project to deploy'
required: true
production:
description: 'Indicates that the production build of the pages project should be deployed.'
default: false
preview:
description: 'Indicates that a preview environment for the current branch should be deployed.'
default: false
branch:
description: 'Name of the branch to be deployed. Cannot be used together with "production".'
github-token:
required: false
outputs:
deploymentId:
description: 'Identifier of the completed deployment'
url:
description: 'Pages url where deployment can be accessed'
runs:
using: 'node16'
main: 'dist/index.js'