Skip to content

Commit 0eae060

Browse files
authored
DOP-3026: publish manifests to correct bucket/path (#1368)
Search is now using the docs-search-indexes-test bucket, not the old bucket(s) we were using previously. This updates the Makefile that y'all use for deploys to put the manifests into the right bucket. I've manually copied the existing manifests over so that search will work as designed from the main docs search, this will just ensure that updates end up in the right place. You'll probably want to back-port the changes to the earlier editions that are actively maintained (if indeed there are any?).
1 parent 7955287 commit 0eae060

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ DOTCOM_PRODUCTION_URL="https://mongodb.com"
1414
DOTCOM_PRODUCTION_BUCKET=docs-mongodb-org-dotcomprd
1515
DOTCOM_PREFIX=docs
1616
DOTCOM_STGPREFIX=docs
17-
17+
SEARCH_INDEX_BUCKET=docs-search-indexes-test
1818

1919

2020
DRIVERS_PATH=source/driver-examples
@@ -85,9 +85,9 @@ deploy: build/public ## Deploy to the production bucket
8585
deploy-search-index: ## Update the search index for this branch
8686
@echo "Building search index"
8787
if [ ${STABLE_BRANCH} = ${GIT_BRANCH} ]; then \
88-
mut-index upload build/public/${GIT_BRANCH} -o manual-current.json --aliases manual-${GIT_BRANCH} -u ${PRODUCTION_URL}/manual -g -s; \
88+
mut-index upload build/public/${GIT_BRANCH} -o manual-current.json --aliases manual-${GIT_BRANCH} -u ${PRODUCTION_URL}/manual -b ${SEARCH_INDEX_BUCKET} -p search-indexes/prd -g -s; \
8989
else \
90-
mut-index upload build/public/${GIT_BRANCH} -o manual-${GIT_BRANCH}.json -u ${PRODUCTION_URL}/${GIT_BRANCH} -s; \
90+
mut-index upload build/public/${GIT_BRANCH} -o manual-${GIT_BRANCH}.json -u ${PRODUCTION_URL}/${GIT_BRANCH} -b ${SEARCH_INDEX_BUCKET} -p search-indexes/prd -s; \
9191
fi
9292

9393
redirects:

0 commit comments

Comments
 (0)