Skip to content

Commit 20e1771

Browse files
committed
chore(pages): show deployment on push
Pull requests didn't have access to the secrets which is okay; just try to deploy on a branch push instead.
1 parent 8fc3125 commit 20e1771

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: CI
22

33
on:
44
push:
5-
branches: [develop]
65
pull_request:
76
branches: [develop]
87
workflow_dispatch:
@@ -56,7 +55,7 @@ jobs:
5655
run: pnpm run build
5756

5857
- name: Deploy to Cloudflare Pages
59-
if: github.repository == 'connectbot/connectbot.github.io' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository)
58+
if: github.repository == 'connectbot/connectbot.github.io' && github.event_name == 'push'
6059
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
6160
with:
6261
apiToken: ${{ secrets.CLOUDFLARE_PAGES_TOKEN }}

0 commit comments

Comments
 (0)