Skip to content

Update deploy.yml

Update deploy.yml #2

Workflow file for this run

name: Deploy to Cloudflare
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Deploy Workers
uses: cloudflare/[email protected]
with:
apiToken: ${{ env.API_TOKEN }}
preCommands: |
npm install -D
command: wrangler deploy
workingDirectory: worker