lancemccarthy/Azure Blob Upload
A simple helper that will upload all the files in a source path to a destination path in a Blob container.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| connection_string | Azure Storage ConnectionString for the container (if using ConnectionString authentication). | no | — |
| tenant_id | App Registration Tenant ID (if using Service Principal authentication). | no | — |
| client_id | App Registration Client ID (if using Service Principal authentication). | no | — |
| client_secret | App Registration Client Secret (if using Service Principal authentication). | no | — |
| storage_account | Azure Storage Account name (e.g. mystorageaccount) (if using Service Principal authentication). | no | — |
| container_name | Blob Container name (e.g. my-container). | yes | — |
| source_folder | The local folder containing all the files and subfolders to upload to the blob container (use a trailing slash). | yes | — |
| destination_folder | The target folder to use in the blob container with (do not use a leading or trailing slash). | no | — |
| clean_destination_folder | This option will delete all the blobs in destination_folder before uploading the new files. | no | false |
| fail_if_source_empty | If you want the Action to fail and report an error if the source_folder is empty. | no | false |
| is_recursive | Set to false if you want all subfolders ignored. | no | true |
| delete_if_exists | If the blob exists it will be skipped, unless this is set to true. | no | false |
| auth_type | Optional auth mode override: 'connection_string' or 'service_principal'. If omitted, mode is inferred from connection_string presence (if it is empty, then service_principal mode is used). | no | — |
Outputs
no outputs