fix: Release deploy of docs (#6095)

A netlify fix that needs to be verified on master
This commit is contained in:
Bill Wallace 2026-06-19 12:34:07 -04:00 committed by GitHub
parent 57d03fc722
commit b59eb30b0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -112,9 +112,13 @@ jobs:
run: pnpm --filter ohif-docs run build
- name: Deploy to Netlify
run: |
cd platform/docs
npx netlify-cli deploy --dir=./build --prod
# The docs are already built by the "Build docs" step above, so pass
# --no-build: `netlify deploy` runs the build command by default, which
# 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
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}