Skip to content

Commit ae03178

Browse files
authored
Merge pull request #95 from NgrDavid/main
Disable publishing documentation for the canonical repo
2 parents f218324 + e20e7d0 commit ae03178

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/Bonsai.Harp.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,10 @@ jobs:
311311
name: documentation-website
312312
url: ${{steps.publish.outputs.page_url}}
313313
# Only run if the workflow isn't dying and build-documentation was successful and either A) we're releasing or B) we have continuous deployment enabled
314+
# Publishing to GitHub Pages is currently disabled for the canonical repo because Bonsai.Harp's documentation is published via https://github.com/harp-tech/harp-tech.github.io
314315
if: |
315316
!cancelled() && !failure() && needs.build-documentation.result == 'success'
317+
&& github.event.repository.fork
316318
&& (github.event_name == 'release'
317319
|| (vars.CONTINUOUS_DOCUMENTATION && github.event_name != 'pull_request')
318320
)

0 commit comments

Comments
 (0)