pew-actions/Google Drive upload
Upload a file to Google Drive using a service account
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| credentials | Google service account credentials | yes | — |
| parent_folder_id | Google Drive folder ID to upload the file to | yes | — |
| target | Local path to the file to upload | yes | — |
| owner | Optional user account email (Require domain-wide authority delegation) | no | — |
| name | Optional name for the target file | no | — |
| child_folder | Optional sub-folder to upload the file to (Will be created if non-existent) | no | — |
| file_id | Optional file-id to use for the upload | no | — |
| retries | Number of attempts to retry the upload | no | 3 |
Outputs
| name | description |
|---|---|
| file-id | Id of the uploaded file |