Skip to content

chore(deps): update dependency wrangler to ^3.94.0 (#876) #888

chore(deps): update dependency wrangler to ^3.94.0 (#876)

chore(deps): update dependency wrangler to ^3.94.0 (#876) #888

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
repository_dispatch:
push:
branches: ['master']
jobs:
build-and-deploy:
runs-on: ubuntu-latest
name: Build & Deploy
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'pnpm'
- run: pnpm install
- name: Deploy
uses: cloudflare/wrangler-action@v3
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN || 'SECRET' }}
with:
accountId: ${{ secrets.CF_ACCOUNT_ID || secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CF_API_TOKEN || secrets.CLOUDFLARE_API_TOKEN }}
packageManager: 'pnpm'
preCommands: |
echo "*** post commands ***"
wrangler r2 bucket create turborepo-cache || true
echo "******"
secrets: |
TURBO_TOKEN
command: deploy --minify