We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab60931 commit 3d7fca7Copy full SHA for 3d7fca7
.github/workflows/ci.yml
@@ -90,7 +90,9 @@ jobs:
90
preview:
91
runs-on: ubuntu-latest
92
needs: build
93
- if: ${{ needs.build.outputs.any-workspace == 'true' }}
+ # Skip publishing to GH Pages if nothing changed or if this PR is coming from a fork
94
+ # See also https://github.com/orgs/community/discussions/26829#discussioncomment-3253575
95
+ if: ${{ (needs.build.outputs.any-workspace == 'true') && ( github.event.pull_request.head.repo.full_name == github.repository ) }}
96
name: Publish preview playgrounds to GH Pages
97
steps:
98
- name: Determine GitHub Pages directory name
0 commit comments