rafael-meneses/Upload to Bunny.net Storage Zone
Uploads files to the Edge Storage Zone on Bunny.net and allows purging of Pull Zones linked to the account.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| storage_zone | Storage zone name or ID | yes | — |
| api_key | Bunny account API key | yes | — |
| local_path | The local path of the directory or file to be uploaded | yes | — |
| remote_path | The path of the remote subdirectory in the Storage Zone where the files will be uploaded | no | "" |
| remove_old_files | If "true", remove all files from remote-path before uploading new ones. | no | false |
| purge_after_upload | If "true", purge the CDN cache after uploading files. | no | false |
Outputs
| name | description |
|---|---|
| files_uploaded | Files uploaded successfully. |
| files_deleted | Files deleted successfully. |
| files_failed_upload | Files that failed to upload. |
| files_failed_delete | Files that failed to delete. |
| uploaded_files_json | A JSON string with the list of uploaded files. |