This action deploys selected directory to BunnyCDN storage.
Required The source directory folder.
Required The name of your storage zone where you are connecting to.
Required The storage API key.
The storage endpoint. Default value is storage.bunnycdn.com
Necessary for purging pull zone.
Necessary for purging pull zone.
It will purge the pull zone if true. pullZoneId and pullZoneAccessKey should be provided.
It will remove the files from storage before uploading if "true" provided.
- name: Deploy to BunnyCDN
uses: ayeressian/[email protected]
with:
source: "dist"
storageZoneName: "${{ secrets.STORAGE_NAME }}"
accessKey: "${{ secrets.STORAGE_KEY }}"
pullZoneId: "${{ secrets.ZONE_ID }}"
pullZoneAccessKey: "${{ secrets.PULL_ZONE_KEY }}"
remove: "true"
purge: "true"