Skip to content

deploy_to_cf_workers #1

deploy_to_cf_workers

deploy_to_cf_workers #1

Workflow file for this run

name: Deploy on workers.dev
on:
push:
branches:
- develop
workflow_dispatch:
repository_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
- name: Publish API
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: deploy