forked from adityak74/google-drive-upload-git-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
38 lines (37 loc) · 1.36 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
name: 'google-drive-upload-git-action'
description: 'Upload files to Google Drive'
author: 'Aditya Karnam Gururaj Rao'
branding:
icon: 'archive'
color: 'green'
inputs:
credentials:
description: 'the service account credentials encoded in base64'
required: true
filename:
description: 'the name of the file you want to upload. Wildcards can be used to upload more than one file'
required: true
folderId:
description: 'the Id of the parent folder you want to upload the file in'
required: true
name:
description: 'what you want the file to be called in Google Drive. Ignored if there are more than one file to be uploaded'
required: false
overwrite:
description: 'if you want to overwrite an existing file in Google Drive '
required: false
mimeType:
description: 'file MimeType. If absent, Google Drive will attempt to automatically detect an appropriate value'
required: false
useCompleteSourceFilenameAsName:
description: 'If true, the target file name will be the source filename and name parameter will be ignored'
required: false
mirrorDirectoryStructure:
description: 'If true, recreate the directory structure of the source file relative to the folderId'
required: false
namePrefix:
description: 'Prefix to be added to target filename'
required: false
runs:
using: docker
image: Dockerfile