logickoder/g-drive-upload
Upload files to Google Drive
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Oct 9, 2025
- License
- MIT
Pinned Snippet
uses: logickoder/google-drive-upload@80e9dbe39d1136b6b0758781de3797364dc7135b # 1.0.1tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| credentials | the service account credentials (deprecated - use OAuth instead) | no | — |
| clientId | OAuth client ID for Google Drive API | no | — |
| clientSecret | OAuth client secret for Google Drive API | no | — |
| refreshToken | OAuth refresh token for Google Drive API | no | — |
| authType | Authentication type: "oauth" or "service" (defaults to "service" for backward compatibility) | no | service |
| filename | the name of the file you want to upload. Wildcards can be used to upload more than one file | yes | — |
| folderId | the Id of the parent folder you want to upload the file in | yes | — |
| name | what you want the file to be called in Google Drive. Ignored if there are more than one file to be uploaded | no | — |
| overwrite | if you want to overwrite an existing file in Google Drive | no | — |
| mimeType | file MimeType. If absent, Google Drive will attempt to automatically detect an appropriate value | no | — |
| useCompleteSourceFilenameAsName | If true, the target file name will be the source filename and name parameter will be ignored | no | — |
| mirrorDirectoryStructure | If true, recreate the directory structure of the source file relative to the folderId | no | — |
| namePrefix | Prefix to be added to target filename | no | — |
Outputs
no outputs