fix(techdocs-cli): config file for development build

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2021-11-11 19:09:30 +01:00
parent 7a3c2f9301
commit 0456b73da8
6 changed files with 18 additions and 7 deletions
+5 -1
View File
@@ -27,7 +27,11 @@ TECHDOCS_PREVIEW_DEST=dist/techdocs-preview-bundle
# Build the embedded-techdocs-app
pushd $EMBEDDED_TECHDOCS_APP_PATH >/dev/null
yarn build
if [[ $TECHDOCS_CLI_DEV_MODE == "true" ]]; then
yarn build:dev
else
yarn build
fi
popd >/dev/null
cp -r $TECHDOCS_PREVIEW_SOURCE $TECHDOCS_PREVIEW_DEST