iory/Google Drive Upload Action (Python)
Uploads a file to Google Drive using a Service Account and outputs the file ID.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Feb 13, 2025
- License
- None
Pinned Snippet
uses: iory/github-action-upload-google-drive@b706a82255f68550bf251dad91254797295c9ba4 # v0.0.3tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| service_account_json | Base64-encoded service account JSON credentials. | yes | — |
| file_path | Path of the file to upload. | yes | — |
| input_gdrive_file_name | The name of the file when uploaded to Google Drive (optional). | no | — |
| folder_id | The ID of the folder to upload the file to. | yes | — |
Outputs
| name | description |
|---|---|
| file_id | The ID of the uploaded file on Google Drive. |