Add github CI workflow

This commit is contained in:
johnd0e
2024-02-27 18:53:01 +01:00
parent 792b0936f1
commit 04a31c912c

16
.github/workflows/cf-deploy.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: Deploy Worker
on:
push:
pull_request:
repository_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}