Skip to content

Latest commit

 

History

History
27 lines (24 loc) · 701 Bytes

README.md

File metadata and controls

27 lines (24 loc) · 701 Bytes

GitHub Action for Bunny CLI

This action provides bunny for GitHub Actions.

Usage

.github/workflows/deploy.yml

name: Deploy to Edge Storage
on: [push]
jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@master
      - name: Deploy to Edge Storage
        uses: own3d/bunny-action@main
        env:
          BUNNY_API_ACCESS_KEY: ${{ secrets.BUNNY_API_ACCESS_KEY }}
          BUNNY_STORAGE_HOSTNAME: storage.bunnycdn.com
          BUNNY_STORAGE_USERNAME: bunny-app
          BUNNY_STORAGE_PASSWORD: ${{ secrets.BUNNY_STORAGE_PASSWORD }}
          BUNNY_PULL_ZONE_ID: 464290
        with:
          args: deploy --dir=dist