Skip to content

Commit e638191

Browse files
authored
Update build.sh
1 parent 75492a4 commit e638191

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,13 @@ curl https://raw.githubusercontent.com/mongodb/docs-worker-pool/netlify-poc/scri
22
sh build-site.sh
33

44

5-
# if [ ! -d "docs-worker-pool" ]; then
5+
if [ ! -d "docs-worker-pool" ]; then
66
git clone --depth 1 --filter=tree:0 https://github.com/mongodb/docs-worker-pool.git --sparse
77
cd docs-worker-pool && git sparse-checkout set --no-cone modules/oas-page-builder
88
cd modules/oas-page-builder && npm ci && npm run build
9-
#fi
9+
fi
10+
11+
git clone -b @dop/[email protected] --depth 1 https://github.com/mongodb-forks/redoc.git redoc
12+
cd redoc && npm ci --prefix cli/ --omit=dev
13+
14+
node docs-worker-pool/modules/oas-page-builder --bundle bundle.zip --output snooty/public --redoc ${REDOC_PATH} --repo ${REPO_DIR} --site-url ${SITE_URL}

0 commit comments

Comments
 (0)