minor: add more branches on push #3
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 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 GitHub Actions / Deploy to Cloudflare WorkersInvalid workflow file
|