We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8eaae3 commit 9698be2Copy full SHA for 9698be2
.github/workflows/docs-deploy.yml
@@ -24,8 +24,8 @@ jobs:
24
docs-deploy:
25
name: Deploy to Cloudflare Pages
26
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
+ # Enable workflow for non-PRs but disable workflow for fork PRs as Cloudflare secret does not work for fork PRs
+ if: ${{ secrets.CLOUDFLARE_PAGES_API_TOKEN }}
29
defaults:
30
run:
31
working-directory: ./docs
0 commit comments