From 71c50db9b51d56a1c0410ca900fcdfa87e96e8d7 Mon Sep 17 00:00:00 2001 From: Alireza Date: Mon, 29 Jun 2026 12:55:01 -0400 Subject: [PATCH] fix(ci): deploy docs with Netlify CLI monorepo filter (#6115) --- .github/workflows/build-docs.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index a6f0e620a..9a400134d 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -117,8 +117,9 @@ jobs: # would otherwise pick up the repo-root netlify.toml (configured for the # main viewer app) and build the wrong project. --dir is resolved # relative to the repo root (the netlify.toml base), not the cwd, so it - # must be the full path to the prebuilt docs output. - run: npx netlify-cli deploy --dir=platform/docs/build --prod --no-build + # must be the full path to the prebuilt docs output. --filter selects + # the ohif-docs package so Netlify CLI does not abort on monorepo detection. + run: npx netlify-cli deploy --filter ohif-docs --dir=platform/docs/build --prod --no-build env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}