Skip to content

Commit fc5ddab

Browse files
committed
ci: Only deploy on main branch
1 parent a417d87 commit fc5ddab

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
run: bunx semantic-release
4141

4242
- name: Deploy
43-
id: deploy
43+
if: github.ref == 'refs/heads/main'
4444
uses: cloudflare/wrangler-action@v3
4545
with:
4646
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}

0 commit comments

Comments
 (0)