We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c70f65d commit 8ec0c76Copy full SHA for 8ec0c76
scripts/docs-build
@@ -7,7 +7,7 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
7
if hash docker 2>/dev/null; then
8
cd "${DIR}/.."
9
echo -e "${BLUE}❯ ${CYAN}Building Docs ...${RESET}"
10
- docker run --rm -e CI=true -v "$(pwd)/docs:/app/docs" -w /app/docs node:alpine sh -c "yarn install && yarn build && chown -R $(id -u):$(id -g) /app/docs"
+ docker run --rm -e CI=true -v "$(pwd)/docs:/app/docs" -w /app/docs node:alpine sh -c "yarn set version berry && yarn install && yarn build && chown -R $(id -u):$(id -g) /app/docs"
11
echo -e "${BLUE}❯ ${GREEN}Building Docs Complete${RESET}"
12
else
13
echo -e "${RED}❯ docker command is not available${RESET}"
0 commit comments