forked from Jodebu/upload-to-drive
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
30 lines (30 loc) · 827 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
29
30
name: 'Upload PDF to Google Drive'
description: 'Uploads a PDF file to Google Drive'
author: 'Parichay Barpanda'
inputs:
credentials:
description: 'Google Service Account credentials'
required: true
folderId:
description: 'Google Drive folder ID to upload the cv to'
required: true
target:
description: 'Local path to the file/folder to upload'
required: true
filename:
description: 'Optional name for upload file (will default to upload.pdf if not supplied)'
required: false
default: null
overwrite:
description: 'Optionally overwrite if file with same name exists or create new'
required: false
default: false
outputs:
link:
description: 'A link to the Drive folder'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'upload'
color: 'blue'