forked from AdrianGonz97/refined-cf-pages-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
47 lines (47 loc) · 1.25 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
39
40
41
42
43
44
45
46
47
name: 'Refined Cloudflare Pages Action'
description: 'Publish to Cloudflare Pages with PR previews'
author: AdrianGonz97
branding:
color: orange
icon: upload-cloud
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 build directory to upload'
required: true
githubToken:
description: 'GitHub Token'
required: true
branch:
description: 'The name of the branch you want to deploy to'
required: false
deploymentName:
description: 'The name of the GitHub deployment'
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: '3'
runs:
using: 'node20'
main: 'dist/index.js'
outputs:
id:
description: 'The ID of the pages deployment'
url:
description: 'The URL of the pages deployment'
alias:
description: 'The alias, if it exists, otherwise the deployment URL'
environment:
description: 'The environment that was deployed to'