Skip to content

Merge pull request #58 from cloudflare/update #8

Merge pull request #58 from cloudflare/update

Merge pull request #58 from cloudflare/update #8

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
push:
branches:
- master
repository_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
name: Build & Deploy
steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: "12.x"
- run: npm install
- name: Publish
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
env:
CF_ACCOUNT_ID: ${{secrets.CF_ACCOUNT_ID}}