-
Notifications
You must be signed in to change notification settings - Fork 14
/
action.yml
50 lines (50 loc) · 1.33 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
name: 'Clasp Action'
description: 'Push or deploy to Google Apps Script using clasp'
branding:
icon: 'arrow-up-circle'
color: 'blue'
inputs:
accessToken:
description: 'access_token written in .clasprc.json'
required: true
idToken:
description: 'id_token written in .clasprc.json'
required: true
refreshToken:
description: 'refresh_token written in .clasprc.json'
required: true
clientId:
description: 'clientId written in .clasprc.json'
required: true
clientSecret:
description: 'clientSecret written in .clasprc.json'
required: true
scriptId:
description: 'scriptId written in .clasp.json'
required: true
rootDir:
description: 'Directory where scripts are stored'
required: false
command:
description: 'Command to execute(push or deploy)'
required: true
description:
description: 'Description of the deployment'
required: false
deployId:
description: 'Deploy ID that will be updated'
required: false
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.accessToken }}
- ${{ inputs.idToken }}
- ${{ inputs.refreshToken }}
- ${{ inputs.clientId }}
- ${{ inputs.clientSecret }}
- ${{ inputs.scriptId }}
- ${{ inputs.rootDir }}
- ${{ inputs.command }}
- ${{ inputs.description }}
- ${{ inputs.deployId }}