Skip to content

Rename workflows/main.yml to .github/workflows/main.yml #1

Rename workflows/main.yml to .github/workflows/main.yml

Rename workflows/main.yml to .github/workflows/main.yml #1

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@v3
- name: Install Wrangler
run: npm install -g wrangler
- name: Publish to Cloudflare
run: wrangler publish
env:
CF_API_TOKEN: ${{ secrets.CF_API_TOKEN }}