forge
Explore
Log in

Don't you dare go Hollow

Only publish docs and wiki on official repo

Browse files at this commit

298acfe8d055270e063d6e61b6fcf5ba5ff4bd0aHigherOrderLogicParent: aaf9c60
  • ci
    • only publish docs and wiki on official repo
Show full message
ci: only publish docs and wiki on official repo
.github/workflows/ci.ymlmodified+2 -2
@@ -329,7 +329,7 @@ jobs:
329 continue-on-error: true329 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-docs334 - 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 - test351 - test
352 permissions:352 permissions: