This action deploys selected directory to BunnyCDN storage.
- name: Deploy to BunnyCDN
uses: Snider/[email protected]
with:
source: "dist"
storageZoneName: "myzone"
accessKey: "${{ secrets.BUNNY_CDN_STORAGE_KEY }}"
zoneId: "${{ secrets.BUNNY_CDN_PULL_ZONE_ID }}"
zoneKey: "${{ secrets.BUNNY_CDN_ZONE_KEY }}"
- name: Upload to BunnyCDN
uses: Snider/[email protected]
with:
source: "dist"
storageZoneName: "myzone"
accessKey: "${{ secrets.BUNNY_CDN_STORAGE_KEY }}"
- name: Purge BunnyCDN
uses: Snider/[email protected]
with:
zoneId: "${{ secrets.BUNNY_CDN_PULL_ZONE_ID }}"
zoneKey: "${{ secrets.BUNNY_CDN_ZONE_KEY }}"