forked from iam4x/now-deploy-preview-comment
-
Notifications
You must be signed in to change notification settings - Fork 18
/
action.yml
44 lines (41 loc) · 1.22 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
name: 'ZEIT Now Deployment'
description: 'This action make a deployment with github actions instead of ZEIT Now builder.'
inputs:
zeit-token:
description: 'zeit.co token'
required: true
now-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
now-project-id:
required: false
description: 'Now CLI 17+, ❗️ The `name` property in now.json is deprecated (https://zeit.ink/5F)'
now-org-id:
required: false
description: 'Now CLI 17+, ❗️ The `name` property in now.json is deprecated (https://zeit.ink/5F)'
outputs:
preview-url:
description: 'deployment preview URL'
preview-name:
description: 'deployment preview name'
runs:
using: 'node12'
main: 'index.js'
branding:
icon: 'check'
color: 'gray-dark'