Skip to content

Commit f3ddf81

Browse files
committed
ci: deploy to cloudflare
1 parent 46d81e3 commit f3ddf81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

+6
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,9 @@ jobs:
3535
run: pnpm types:check
3636
- name: Run tests
3737
run: pnpm test
38+
- name: Deploy to Cloudflare
39+
if: github.ref == 'refs/heads/main'
40+
uses: cloudflare/wrangler-action@v3
41+
with:
42+
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
43+
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)