added workflow to deploy to cloudflare
Some checks failed
Deploy Worker / deploy (push) Failing after 19s

This commit is contained in:
christian 2024-10-30 23:33:58 +01:00
parent 2e07c7a298
commit 87ce902a30

View File

@ -0,0 +1,16 @@
name: Deploy Worker
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- name: Build & Deploy Worker
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}