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:
push:
branches:
- master
repository_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Navigate to repo
run: cd $GITHUB_WORKSPACE
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Install deps
run: npm install
- name: Publish
uses: cloudflare/wrangler-action@1.2.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
env:
CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}