Skip to content

Deploy to Cloudflare Workers #1

Deploy to Cloudflare Workers

Deploy to Cloudflare Workers #1

name: Deploy
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- run: node --version
- run: npm install
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}