Skip to content

Cloudflare Workers

Cloudflare Workers #3

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
push:
branches:
- main
repository_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
name: Deploy
steps:
- name: Code Checkout
uses: actions/checkout@v4
- name: Install Dependencies
run: npm install -g wrangler
- name: Deploy Workers
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
command: deploy