Skip to content

Commit 6b825d6

Browse files
committed
chore(pages): only deploy on develop branch
1 parent 20e1771 commit 6b825d6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: pnpm run build
5656

5757
- name: Deploy to Cloudflare Pages
58-
if: github.repository == 'connectbot/connectbot.github.io' && github.event_name == 'push'
58+
if: github.ref == 'refs/heads/develop' && github.repository == 'connectbot/connectbot.github.io' && github.event_name == 'push'
5959
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
6060
with:
6161
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}

0 commit comments

Comments
 (0)