From 830c4bf319efb4834f588002f5034dd56256fefe Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Thu, 11 May 2017 12:09:50 +1000 Subject: [PATCH] build: avoid /docs/api and /docs/doc/api upload Fixes: https://github.com/nodejs/node/issues/12833 PR-URL: --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9034037049b34c..7dcd545cb8699b 100644 --- a/Makefile +++ b/Makefile @@ -748,9 +748,9 @@ ifeq ($(XZ), 0) endif doc-upload: doc - ssh $(STAGINGSERVER) "mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)" + ssh $(STAGINGSERVER) "mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/" chmod -R ug=rw-x+X,o=r+X out/doc/ - scp -pr out/doc/ $(STAGINGSERVER):nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/ + scp -pr out/doc/* $(STAGINGSERVER):nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/ ssh $(STAGINGSERVER) "touch nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs.done" $(TARBALL)-headers: release-only