fix(ci): deploy docs with Netlify CLI monorepo filter (#6115)
This commit is contained in:
parent
4cdcd34a33
commit
71c50db9b5
5
.github/workflows/build-docs.yml
vendored
5
.github/workflows/build-docs.yml
vendored
@ -117,8 +117,9 @@ jobs:
|
|||||||
# would otherwise pick up the repo-root netlify.toml (configured for the
|
# would otherwise pick up the repo-root netlify.toml (configured for the
|
||||||
# main viewer app) and build the wrong project. --dir is resolved
|
# 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
|
# relative to the repo root (the netlify.toml base), not the cwd, so it
|
||||||
# must be the full path to the prebuilt docs output.
|
# must be the full path to the prebuilt docs output. --filter selects
|
||||||
run: npx netlify-cli deploy --dir=platform/docs/build --prod --no-build
|
# 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:
|
env:
|
||||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user