Skip to content

Latest commit

 

History

History
52 lines (32 loc) · 1.03 KB

README.md

File metadata and controls

52 lines (32 loc) · 1.03 KB

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"