Skip to content

Commit e20e7d0

Browse files
committed
Disable publishing documentation for the canonical repo
The documentation for this repo is published by https://github.com/harp-tech/harp-tech.github.io
1 parent f218324 commit e20e7d0

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)