-
-
Notifications
You must be signed in to change notification settings - Fork 99
/
action.yml
73 lines (71 loc) · 2.56 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: 'Vercel Action'
description: 'This action make a deployment with github actions instead of Vercel builder.'
inputs:
vercel-token:
description: 'Vercel token'
required: true
vercel-args:
description: ''
required: false
default: ''
github-comment:
required: false
default: 'true'
description: 'if you want to comment on pr and commit, set true, default: true'
github-token:
required: false
description: 'if you want to comment on pr and commit, set token'
github-deployment:
required: false
default: 'false'
description: 'if you want to create github deployment, set true, default: false'
working-directory:
required: false
description: the working directory
vercel-project-id:
required: false
description: 'Vercel CLI 17+, ❗️ The `name` property in vercel.json is deprecated (https://zeit.ink/5F)'
vercel-org-id:
required: false
description: 'Vercel CLI 17+, ❗️ The `name` property in vercel.json is deprecated (https://zeit.ink/5F)'
vercel-project-name:
required: false
description: "The name of the project; if absent we'll use the `vercel inspect` command to determine."
vercel-version:
required: false
description: "vercel-cli package version"
scope:
required: false
description: 'If you are work in team scope, you should set this value to your team id.'
zeit-token:
description: 'zeit.co token'
required: false
deprecationMessage: 'Zeit is now Vercel. Use "vercel-token" instead'
now-args:
description: ''
required: false
default: ''
deprecationMessage: 'Zeit is now Vercel. Use "vercel-args" instead.'
now-project-id:
required: false
description: 'Vercel CLI 17+, ❗️ The `name` property in vercel.json is deprecated (https://zeit.ink/5F)'
deprecationMessage: 'Zeit is now Vercel. Use "vercel-project-id" instead.'
now-org-id:
required: false
description: 'Vercel CLI 17+, ❗️ The `name` property in vercel.json is deprecated (https://zeit.ink/5F)'
deprecationMessage: 'Zeit is now Vercel. Use "vercel-org-id" instead.'
alias-domains:
required: false
description: 'You can assign a domain to this deployment. Please note that this domain must have been configured in the project. You can use pull request number via `{{PR_NUMBER}}` and branch via `{{BRANCH}}`'
default: ''
outputs:
preview-url:
description: 'deployment preview URL'
preview-name:
description: 'deployment preview name'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'triangle'
color: 'white'