generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (45 loc) · 1.38 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
48
# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
name: 'GitHub Action for Cloudflare Pages'
description: 'Deploy to Cloudflare Pages'
branding:
icon: 'upload-cloud'
color: 'orange'
inputs:
cloudflare-api-token:
description: 'Cloudflare API Token'
required: true
cloudflare-account-id:
description: 'Cloudflare Account ID'
required: true
cloudflare-project-name:
description: 'Cloudflare Pages project name to upload to'
required: true
directory:
description: 'Directory of static files to upload'
required: true
github-token:
description: 'Github API key'
required: true
github-environment:
description: 'GitHub environment to deploy to. You need to manually create this for the github repo'
required: true
working-directory:
description: 'Directory to run wrangler cli from'
required: false
wrangler-version:
description: 'Wrangler version to use'
required: false
outputs:
id:
description: 'Cloudflare Pages deployed id'
url:
description: 'Cloudflare Pages deployed url'
environment:
description: 'Cloudflare Pages deployed environment "production" or "preview"'
alias:
description: 'Cloudflare Pages deployed alias. Fallsback to deployed url if deployed alias is null'
wrangler:
description: 'Wrangler cli output'
runs:
using: node20
main: dist/deploy/index.js