@@ -36,8 +36,8 @@ DOTCOM_STAGING_URL="https://mongodbcom-cdn.website.staging.corp.mongodb.com"
3636DOTCOM_STAGING_BUCKET =docs-mongodb-org-dotcomstg
3737DOTCOM_PRODUCTION_URL ="https://mongodb.com"
3838DOTCOM_PRODUCTION_BUCKET =docs-mongodb-org-dotcomprd
39- DOTCOM_PREFIX =docs-qa /kubernetes-operator
40- DOTCOM_STGPREFIX =docs-qa /kubernetes-operator
39+ DOTCOM_PREFIX =docs/kubernetes-operator
40+ DOTCOM_STGPREFIX =docs/kubernetes-operator
4141
4242# Parse our published-branches configuration file to get the name of
4343# the current "stable" branch. This is weird and dumb, yes.
@@ -85,8 +85,6 @@ clean-html:
8585# # Builds this branch's publishable HTML and other artifacts under
8686# # build/public
8787publish :
88- if [ ${GIT_BRANCH} = master ]; then rm -rf build/public; fi ;
89- rm -rf build/${GIT_BRANCH}
9088 giza make publish
9189 if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
9290
@@ -104,10 +102,6 @@ publish:
104102
105103# # Host online for review
106104stage :
107- mut-publish build/${GIT_BRANCH} /html ${STAGING_BUCKET} --prefix=${PROJECT} --stage ${ARGS}
108- @echo " \n\nHosted at ${STAGING_URL} /${PROJECT} /${USER} /${GIT_BRANCH} /index.html"
109-
110-
111105 mut-publish build/${GIT_BRANCH} /html ${DOTCOM_STAGING_BUCKET} --prefix=${DOTCOM_STGPREFIX} --stage ${ARGS}
112106 @echo " \n\nHosted at ${DOTCOM_STAGING_URL} /${DOTCOM_STGPREFIX} /${USER} /${GIT_BRANCH} /index.html"
113107
@@ -120,16 +114,8 @@ stage:
120114
121115# # Deploy to the production bucket
122116deploy : build/public
123- mut-publish build/public ${PRODUCTION_BUCKET} --prefix=${PROJECT} --deploy --redirect-prefix=' ${PROJECT}' ${ARGS}
124-
125- @echo "\n\nHosted at ${PRODUCTION_URL}/${PROJECT}/index.html"
126-
127-
128117 mut-publish build/public ${DOTCOM_PRODUCTION_BUCKET} --prefix=${DOTCOM_PREFIX} --deploy --redirect-prefix=' ${PROJECT}' ${ARGS}
129-
130118 @echo " \n\nHosted at ${DOTCOM_PRODUCTION_URL} /${DOTCOM_PREFIX} /${GIT_BRANCH} /index.html"
131-
132-
133119 $(MAKE ) deploy-search-index
134120
135121# # Update the search index for this branch
0 commit comments