Skip to content

test: various conditions to test deployment #4

test: various conditions to test deployment

test: various conditions to test deployment #4

Workflow file for this run

name: Deploy Cloudflare Worker
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Install Node
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install Wrangler
run: npm install -g wrangler
- name: Publish Worker
env:
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
run: wrangler deploy --config packages/worker/wrangler.toml