Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

ci(docs): deploy Pages only from the canonical repository

thread3d8c6dfdb6677d
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 787d918b..b9a626dc 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -54,7 +54,10 @@ jobs:
deploy:
name: docs (deploy)
needs: build
- if: github.event_name != 'pull_request'
+ # Only the canonical repository has Pages configured. A fork would try to create a deployment
+ # it is not allowed to (404) and go red on every push to main; the strict build above still
+ # runs there, so the docs are checked everywhere and published in one place.
+ if: github.event_name != 'pull_request' && github.repository == 'NandhaKishorM/laya'
runs-on: ubuntu-latest
permissions:
pages: write