Skip to content

Commit 990281a

Browse files
authored
DOP-3026: publish manifests to correct bucket/path
1 parent e421669 commit 990281a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ DOTCOM_PRODUCTION_URL="https://mongodb.com"
1212
DOTCOM_PRODUCTION_BUCKET=docs-mongodb-org-dotcomprd
1313
DOTCOM_PREFIX=docs/php-library
1414
DOTCOM_STGPREFIX=docs/php-library
15+
SEARCH_INDEX_BUCKET=docs-search-indexes-test
16+
1517

1618
# Parse our published-branches configuration file to get the name of
1719
# the current "stable" branch. This is weird and dumb, yes.
@@ -83,8 +85,8 @@ deploy: publish ## Deploy to the production bucket
8385
deploy-search-index: ## Update the search index for this branch
8486
@echo "Building search index"
8587
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; \
8789
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; \
8991
fi
9092

0 commit comments

Comments
 (0)