Skip to content

Uploads to storage and/or purges pull zone

Notifications You must be signed in to change notification settings

Bearologics/BunnyAction

 
 

Repository files navigation

BunnyAction

This action deploys the specified directory to BunnyCDN.

Upload and purge Pull Zone

- name: Deploy to BunnyCDN
  uses: Bearologics/BunnyAction@main
  with:
    source: "dist"
    storageZoneName: "myzone"
    accessKey: "${{ secrets.BUNNY_CDN_STORAGE_KEY }}"
    zoneId: "${{ secrets.BUNNY_CDN_PULL_ZONE_ID }}"
    zoneKey: "${{ secrets.BUNNY_CDN_ZONE_KEY }}"
    dangerouslyDeleteAllExistingData: true

Upload only

- name: Upload to BunnyCDN
  uses: Bearologics/BunnyAction@main
  with:
    source: "dist"
    storageZoneName: "myzone"
    accessKey: "${{ secrets.BUNNY_CDN_STORAGE_KEY }}"

Purge Pull Zone

- name: Purge BunnyCDN
  uses: Bearologics/BunnyAction@main
  with:
    zoneId: "${{ secrets.BUNNY_CDN_PULL_ZONE_ID }}"
    zoneKey: "${{ secrets.BUNNY_CDN_ZONE_KEY }}"

About

Uploads to storage and/or purges pull zone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 86.8%
  • JavaScript 13.2%