Skip to content

Commit 9698be2

Browse files
committed
enable for non-PRs
1 parent d8eaae3 commit 9698be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ jobs:
2424
docs-deploy:
2525
name: Deploy to Cloudflare Pages
2626
runs-on: ubuntu-24.04-arm
27-
# Cloudflare secret does not work for fork PRs
28-
if: github.event.pull_request.head.repo.full_name == github.repository
27+
# Enable workflow for non-PRs but disable workflow for fork PRs as Cloudflare secret does not work for fork PRs
28+
if: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }}
2929
defaults:
3030
run:
3131
working-directory: ./docs

0 commit comments

Comments
 (0)