Skip to content

Commit 830c4bf

Browse files
committed
build: avoid /docs/api and /docs/doc/api upload
Fixes: nodejs#12833 PR-URL:
1 parent 6914aea commit 830c4bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,9 @@ ifeq ($(XZ), 0)
748748
endif
749749

750750
doc-upload: doc
751-
ssh $(STAGINGSERVER) "mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)"
751+
ssh $(STAGINGSERVER) "mkdir -p nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/"
752752
chmod -R ug=rw-x+X,o=r+X out/doc/
753-
scp -pr out/doc/ $(STAGINGSERVER):nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/
753+
scp -pr out/doc/* $(STAGINGSERVER):nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs/
754754
ssh $(STAGINGSERVER) "touch nodejs/$(DISTTYPEDIR)/$(FULLVERSION)/docs.done"
755755

756756
$(TARBALL)-headers: release-only

0 commit comments

Comments
 (0)