Skip to content

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '22'
- name: Install Wrangler
run: npm install -g wrangler
- name: Deploy to Cloudflare Workers
run: wrangler deploy
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}