Skip to content

Commit

Permalink
Configured automatic deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
4r7if3x committed Jun 12, 2024
1 parent e39555f commit 4435c72
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Deploy

on:
push:
branches:
- main
paths:
- 'src/**'
- wrangler.toml

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Build & Publish
uses: cloudflare/wrangler-action@v3
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 comments on commit 4435c72

Please sign in to comment.