Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add EuiComboBox examples #7470

Closed
Closed
3 changes: 3 additions & 0 deletions scripts/deploy/build_docs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ set -e

# Docusaurus must know the base URL to work properly
DOCS_BASE_URL="/new-docs/"
DOCS_STORYBOOK_BASE_URL="https://eui.elastic.co/storybook"
if [ -n "${GIT_PULL_REQUEST_ID}" ] && [ "${GIT_PULL_REQUEST_ID}" != "false" ]; then
DOCS_BASE_URL="/pr_${GIT_PULL_REQUEST_ID}/new-docs/"
DOCS_STORYBOOK_BASE_URL="https://eui.elastic.co/pr_${GIT_PULL_REQUEST_ID}/storybook"
fi

echo "Docusaurus base URL set to: ${DOCS_BASE_URL}"
Expand All @@ -17,6 +19,7 @@ docker run \
--rm -i \
--env HOME=/tmp \
--env DOCS_BASE_URL="$DOCS_BASE_URL" \
--env DOCS_STORYBOOK_BASE_URL="$DOCS_STORYBOOK_BASE_URL" \
--"user=$(id -u)":"$(id -g)" \
--volume "$PWD":/app \
--workdir /app \
Expand Down
Loading