diff --git a/.gitea/workflows/deploy-to-workers.yaml b/.gitea/workflows/deploy-to-workers.yaml new file mode 100644 index 0000000..b2f4d95 --- /dev/null +++ b/.gitea/workflows/deploy-to-workers.yaml @@ -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 }}