Files
aniplay-api/.github/workflows/main.yml
Rushil Perera 9333b27d83 Specify Bun URL for GH Action
Due to oven-sh/setup-bun#82, the default URL isn't working so I'm setting the download URL to point to GH releases.
2024-06-02 07:24:37 -04:00

21 lines
536 B
YAML

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
with:
bun-download-url: "https://github.com/oven-sh/bun/releases/latest/download/bun-${{runner.os == 'macOS' && 'darwin' || runner.os}}-${{ runner.arch == 'X64' && 'x64' || 'arm64' }}.zip"
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}