Skip to content

Github action for deploying selected directory to BunnyCDN storage.

Notifications You must be signed in to change notification settings

chutzinger/bunnycdn-storage-deploy

 
 

Repository files navigation

bunnycdn-storage-deploy

This action deploys selected directory to BunnyCDN storage.

Inputs

source

Required The source directory folder.

storageZoneName

Required The name of your storage zone where you are connecting to.

accessKey

Required The storage API key.

storageEndpoint

The storage endpoint. Default value is storage.bunnycdn.com

pullZoneId

Necessary for purging pull zone.

pullZoneAccessKey

Necessary for purging pull zone.

purge

It will purge the pull zone if true. pullZoneId and pullZoneAccessKey should be provided.

remove

It will remove the files from storage before uploading if "true" provided.

Example usage

- 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"

About

Github action for deploying selected directory to BunnyCDN storage.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 85.8%
  • JavaScript 14.2%