Skip to content

Merge pull request #3 from astrolicious/renovate/cloudflare-wrangler-… #5

Merge pull request #3 from astrolicious/renovate/cloudflare-wrangler-…

Merge pull request #3 from astrolicious/renovate/cloudflare-wrangler-… #5

name: Deploy staging
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
name: Deploy staging
runs-on: ubuntu-latest
environment: staging
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_APPLICATION_ID: ${{ secrets.DISCORD_APPLICATION_ID }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun install
- name: Deploy staging
uses: cloudflare/[email protected]
with:
command: deploy --env staging
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
preCommands: bun register