Create cfw.js.yml

This commit is contained in:
Jyotirmoy Bandyopadhayaya 2020-10-24 12:41:44 +05:30 committed by GitHub
parent 13fd06c3f0
commit f8aa241a14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 0 deletions

17
.github/workflows/cfw.js.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Deploy to CF Workers
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v2
- name: Publish
uses: cloudflare/wrangler-action@1.3.0
with:
apiToken: ${{ secrets.CF_API_TOKEN }}