Skip to content

Commit

Permalink
chore: auto deploy worker on git push
Browse files Browse the repository at this point in the history
  • Loading branch information
derogab authored Jul 27, 2024
1 parent ba0c635 commit 4fe8b03
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Deploy Worker

on:
push:
branches:
- master

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

0 comments on commit 4fe8b03

Please sign in to comment.