Add deploy GitHub Action

This commit is contained in:
Erisa A 2021-10-22 18:28:07 +00:00 committed by GitHub
parent ef30a7724f
commit 10c2b5c098
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 1 deletions

1
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1 @@
github: Erisa

View file

@ -0,0 +1,17 @@
name: Deploy to Cloudflare Workers
on:
push:
branches:
- main
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 }}

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
dist/* dist/*
worker/* worker/*
node_modules/* node_modules/*
.secrets