Create Github Actions continuous deployment for Cloudflare workers

This commit is contained in:
2024-06-02 07:10:26 -04:00
committed by GitHub
parent 6408ab2459
commit 6685881510

17
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- uses: actions/checkout@v4
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}