Skip to content

minor: add more branches on push #3

minor: add more branches on push

minor: add more branches on push #3

name: Deploy to Cloudflare Workers
on:
push:
branches:
- main
- master
- hono-rewrite
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Install Dependencies
run: npm install
- name: Deploy to Cloudflare Workers
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
environment: production
run: npm run deploy

Check failure on line 22 in .github/workflows/deploy-wrangler.yml

View workflow run for this annotation

GitHub Actions / Deploy to Cloudflare Workers

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-wrangler.yml (Line: 22, Col: 9): Unexpected value 'run' .github/workflows/deploy-wrangler.yml (Line: 18, Col: 9): Required property is missing: uses