File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ PRODUCTION_URL="https://docs.mongodb.com"
8
8
STAGING_BUCKET =docs-mongodb-org-prd-staging
9
9
PRODUCTION_BUCKET =docs-mongodb-org-prd
10
10
11
+ SEARCH_INDEX_BUCKET =docs-search-indexes-test
12
+
11
13
PROJECT =mongoid
12
14
PREFIX =mongoid
13
15
TARGET_DIR =source-${GIT_BRANCH}
@@ -73,9 +75,9 @@ deploy: build/public/${GIT_BRANCH} ## Deploy to the production bucket
73
75
deploy-search-index : # # Update the search index for this branch
74
76
@echo " Building search index"
75
77
if [ ${STABLE_BRANCH} = ${GIT_BRANCH} ]; then \
76
- mut-index upload build/public/${GIT_BRANCH} -o ${PROJECT} -${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${PRODUCTION_BUCKET} -g -s --exclude build/public/${GIT_BRANCH} /api; \
78
+ mut-index upload build/public/${GIT_BRANCH} -o ${PROJECT} -${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${SEARCH_INDEX_BUCKET} -p search-indexes/prd -g -s --exclude build/public/${GIT_BRANCH} /api; \
77
79
else \
78
- mut-index upload build/public/${GIT_BRANCH} -o ${PROJECT} -${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${PRODUCTION_BUCKET} -s --exclude build/public/${GIT_BRANCH} /api; \
80
+ mut-index upload build/public/${GIT_BRANCH} -o ${PROJECT} -${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${SEARCH_INDEX_BUCKET} -p search-indexes/prd -s --exclude build/public/${GIT_BRANCH} /api; \
79
81
fi
80
82
81
83
# in case you want to just generate the api-docs
You can’t perform that action at this time.
0 commit comments