Only publish docs and wiki on official repo
Browse files at this commit298acfe8d055270e063d6e61b6fcf5ba5ff4bd0aParent: aaf9c60- ci
- only publish docs and wiki on official repo
1 changed file +2 -2
- .github/workflows/ci.yml +2 -2
.github/workflows/ci.ymlmodified+2 -2
| @@ -329,7 +329,7 @@ jobs: | |||
| 329 | continue-on-error: true | 329 | continue-on-error: true |
| 330 | 330 | ||
| 331 | publish-wiki: | 331 | publish-wiki: |
| 332 | - if: github.event_name == 'push' && github.ref == 'refs/heads/main' | 332 | + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'niri-wm/niri' |
| 333 | needs: | 333 | needs: |
| 334 | - publish-docs | 334 | - publish-docs |
| 335 | permissions: | 335 | permissions: |
| @@ -346,7 +346,7 @@ jobs: | |||
| 346 | path: docs/wiki/ | 346 | path: docs/wiki/ |
| 347 | 347 | ||
| 348 | publish-docs: | 348 | publish-docs: |
| 349 | - if: github.event_name == 'push' && github.ref == 'refs/heads/main' | 349 | + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository == 'niri-wm/niri' |
| 350 | needs: | 350 | needs: |
| 351 | - test | 351 | - test |
| 352 | permissions: | 352 | permissions: |