-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
29 lines (27 loc) · 900 Bytes
/
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
name: Glob to Drive
description: Action that takes a glob and uploads matching files to Google Drive
branding:
icon: 'upload-cloud'
color: 'yellow'
inputs:
glob:
description: 'Glob that will be used to find files to upload'
required: true
keepStructure:
description: 'Keep the folder structure (Defaults to true)'
required: false
uploadTo:
description: 'ID of the folder where the files will be uploaded (Defaults to My Drive)'
required: false
mimeType:
description: 'MimeType of the files being uploaded. Only one can be specified and will be used for all the files. Drive will try to guess it if left empty '
require: false
credentials:
description: 'JSON downloaded from the Google Console'
required: true
token:
description: 'Refresh token generated by login.js'
required: true
runs:
using: 'node12'
main: 'dist/index.js'