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.
@@ -85,8 +87,8 @@ deploy: publish ## Deploy to the production bucket
85
87
deploy-search-index : # # Update the search index for this branch
86
88
@echo " Building search index"
87
89
if [ ${STABLE_BRANCH} = ${GIT_BRANCH} ]; then \
88
- 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; \
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 -g -s; \
89
91
else \
90
- mut-index upload build/public/${GIT_BRANCH} -o docs-php-library-${GIT_BRANCH} .json -u ${PRODUCTION_URL} /${PROJECT} /${GIT_BRANCH} -b ${PRODUCTION_BUCKET} -s; \
92
+ 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; \
91
93
fi
92
94
You can’t perform that action at this time.
0 commit comments