Skip to content

Commit cdafd09

Browse files
committed
DOP-2811: Remove -qa suffix, and oldprod deploy logic
1 parent e851956 commit cdafd09

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

Makefile

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ DOTCOM_STAGING_URL="https://mongodbcom-cdn.website.staging.corp.mongodb.com"
1717
DOTCOM_STAGING_BUCKET=docs-mongodb-org-dotcomstg
1818
DOTCOM_PRODUCTION_URL="https://mongodb.com"
1919
DOTCOM_PRODUCTION_BUCKET=docs-mongodb-org-dotcomprd
20-
DOTCOM_PREFIX=docs-qa/mongoid
21-
DOTCOM_STGPREFIX=docs-qa/mongoid
20+
DOTCOM_PREFIX=docs/mongoid
21+
DOTCOM_STGPREFIX=docs/mongoid
2222

2323
# Parse our published-branches configuration file to get the name of
2424
# the current "stable" branch. This is weird and dumb, yes.
@@ -53,34 +53,21 @@ publish: migrate ## Builds this branch's publishable HTML and other artifacts un
5353
if [ ${GIT_BRANCH} = master ]; then mut-redirects config/redirects -o build/public/.htaccess; fi
5454

5555
stage: ## Host online for review
56-
mut-publish build/${GIT_BRANCH}/html ${STAGING_BUCKET} --prefix=${PROJECT} --stage ${ARGS}
57-
@echo "Hosted at ${STAGING_URL}/${PROJECT}/${USER}/${GIT_BRANCH}/index.html"
58-
5956
mut-publish build/${GIT_BRANCH}/html ${DOTCOM_STAGING_BUCKET} --prefix=${DOTCOM_STGPREFIX} --stage ${ARGS}
6057
@echo "Hosted at ${DOTCOM_STAGING_URL}/${DOTCOM_STGPREFIX}/${USER}/${GIT_BRANCH}/index.html"
6158

6259

6360

6461
fake-deploy: build/public/${GIT_BRANCH} ## Create a fake deployment in the staging bucket
65-
mut-publish build/public ${STAGING_BUCKET} --prefix=${PROJECT} --deploy --verbose ${ARGS}
66-
@echo "Hosted at ${STAGING_URL}/${PROJECT}/${GIT_BRANCH}/index.html"
67-
6862
mut-publish build/public ${DOTCOM_STAGING_BUCKET} --prefix=${DOTCOM_STGPREFIX} --deploy --verbose ${ARGS}
6963
@echo "Hosted at ${DOTCOM_STAGING_URL}/${DOTCOM_STGPREFIX}/${GIT_BRANCH}/index.html"
7064

7165

7266

7367
deploy: build/public/${GIT_BRANCH} ## Deploy to the production bucket
74-
mut-publish build/public/ ${PRODUCTION_BUCKET} --prefix=${PROJECT} --deploy --redirects build/public/.htaccess ${ARGS}
75-
76-
@echo "Hosted at ${PRODUCTION_URL}/${PROJECT}/${GIT_BRANCH}"
77-
7868
mut-publish build/public/ ${DOTCOM_PRODUCTION_BUCKET} --prefix=${DOTCOM_PREFIX} --deploy --redirects build/public/.htaccess ${ARGS}
79-
8069
@echo "Hosted at ${DOTCOM_PRODUCTION_URL}/${DOTCOM_PREFIX}/${GIT_BRANCH}"
8170

82-
83-
8471
$(MAKE) deploy-search-index
8572

8673
deploy-search-index: ## Update the search index for this branch

0 commit comments

Comments
 (0)