djang0dev/Bunny.net Storage Deployer
A github action to deploy a glob pattern to bunny.net storage and flush the associated pull zone
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| upload | It will upload files and folders if "true" provided. source, storageZoneName and storagePassword inputs should be provided. | — | false |
| remove | It will remove all the files from storage before uploading if "true" provided. | — | false |
| storageName | The name of storage zone where you are connecting to. | yes | — |
| storageEndpoint | The storage endpoint. Default value is storage.bunnycdn.com | — | storage.bunnycdn.com |
| storagePassword | The storage password. It should be read and write capable. | yes | — |
| sourcePattern | The glob pattern to retrieve the files from, like `./dist/**/*.js` | yes | — |
| destination | The destination directory that should be uploaded to in the bunny storage zone. (Example: www). The destination should not have a trailing / as in www/. If you want to upload files to a nested directory, you can specify the path to the directory in the destination parameter. For example, if you want to upload files to a directory called assets inside the www directory, you can set the destination parameter to www/assets. Note that the nested directory will be automatically created by the CDN if it does not already exist. | yes | — |
| purgePullZone | It will purge the pull zone if "true" provided. pullZoneId and accessKey inputs should be provided. | — | false |
| apiKey | You can retrieve your api key from your profile settings | yes | — |
| pullZoneId | You can retrieve your pull zone id directly from its url: https://dash.bunny.net/cdn/PULL_ZONE_ID/general/hostnames | yes | — |
| verbose | Verbose mode | no | false |
Outputs
no outputs