Skip to content

Commit f511320

Browse files
committed
Deploy under /new
Signed-off-by: Charlie Egan <[email protected]>
1 parent d1b2ce7 commit f511320

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ release-ci: push-image push-manifest-list-latest
463463
endif
464464

465465
.PHONY: netlify-prod
466-
netlify-prod: clean docs-clean build docs-production-build
466+
netlify-prod: clean docs-clean build docs-production-build docs-new-site
467467

468468
.PHONY: netlify-preview
469469
netlify-preview: clean docs-clean build docs-live-blocks-install-deps docs-live-blocks-test docs-dev-generate docs-preview-build

docs/Makefile

+7
Original file line numberDiff line numberDiff line change
@@ -89,3 +89,10 @@ preview-build:
8989
--buildFuture \
9090
--ignoreCache
9191
make live-blocks-inject
92+
93+
.PHONY: new-site
94+
new-site:
95+
cd new
96+
npm ci
97+
npx docusaurus build
98+
cp -r build/. ../website/public/new

docs/website/static/robots.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Disallow: /new/

0 commit comments

Comments
 (0)