Merge pull request #3 from astrolicious/renovate/cloudflare-wrangler-… #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |