Skip to content

Snider/bunnycdn-gh-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace
This branch is 21 commits ahead of, 85 commits behind ayeressian/bunnycdn-storage-deploy:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

344ad28 · Feb 16, 2024

History

51 Commits
Jun 25, 2020
Mar 26, 2022
May 12, 2023
Jun 26, 2020
Jun 24, 2020
Mar 31, 2023
May 12, 2023
Jun 24, 2020
Mar 26, 2022
Mar 26, 2022
Jun 26, 2020

Repository files navigation

bunnycdn-gh-action

This action deploys selected directory to BunnyCDN storage.

Upload and purge pull zone

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

Upload

- name: Upload to BunnyCDN
  uses: Snider/[email protected]
  with:
    source: "dist"
    storageZoneName: "myzone"
    accessKey: "${{ secrets.BUNNY_CDN_STORAGE_KEY }}"

purge pull zone

- name: Purge BunnyCDN
  uses: Snider/[email protected]
  with:
    zoneId: "${{ secrets.BUNNY_CDN_PULL_ZONE_ID }}"
    zoneKey: "${{ secrets.BUNNY_CDN_ZONE_KEY }}"

About

Uploads to storage and/or purges pull zone

Topics

Resources

Stars

Watchers

Forks

Languages

  • TypeScript 83.6%
  • JavaScript 16.4%