Skip to content

Update _worker.js

Update _worker.js #22

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Wrangler
run: npm install -g wrangler
- name: Publish to Cloudflare Workers
run: wrangler deploy _worker.js --compatibility-date 2024-08-23
env:
CF_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CF_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}