Skip to content

feat: deploy bunny edge script #1

feat: deploy bunny edge script

feat: deploy bunny edge script #1

Workflow file for this run

name: Deploy when pushing on main
on:
push:
branches:
- 'develop'
paths:
- 'edge'
- '.github/workflows/deploy-script.yml'
jobs:
publish:
runs-on: ubuntu-latest
name: 'Upload script'
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Deploy Script to Bunny Edge Scripting
uses: BunnyWay/actions/deploy-script@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
script_id: ${{ secrets.BUNNY_SCRIPT_ID }}
file: "edge/script.ts"