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