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 @@ -12,6 +12,8 @@ DOTCOM_PRODUCTION_URL="https://mongodb.com"
12
12
DOTCOM_PRODUCTION_BUCKET =docs-mongodb-org-dotcomprd
13
13
DOTCOM_PREFIX =docs/php-library
14
14
DOTCOM_STGPREFIX =docs/php-library
15
+ SEARCH_INDEX_BUCKET =docs-search-indexes-test
16
+
15
17
16
18
# Parse our published-branches configuration file to get the name of
17
19
# the current "stable" branch. This is weird and dumb, yes.
@@ -83,8 +85,8 @@ deploy: publish ## Deploy to the production bucket
83
85
deploy-search-index : # # Update the search index for this branch
84
86
@echo " Building search index"
85
87
if [ ${STABLE_BRANCH} = ${GIT_BRANCH} ]; then \
86
- mut-index upload build/public/${GIT_BRANCH} -o docs-php-library-${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${PRODUCTION_BUCKET} -g -s; \
88
+ mut-index upload build/public/${GIT_BRANCH} -o docs-php-library-${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${SEARCH_INDEX_BUCKET} -p search-indexes/prd -g -s; \
87
89
else \
88
- mut-index upload build/public/${GIT_BRANCH} -o docs-php-library-${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${PRODUCTION_BUCKET} -s; \
90
+ mut-index upload build/public/${GIT_BRANCH} -o docs-php-library-${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${SEARCH_INDEX_BUCKET} -p search-indexes/prd -s; \
89
91
fi
90
92
You can’t perform that action at this time.
0 commit comments