From 972f2cb77ea6f991ff8c302593c1acba8d786cc5 Mon Sep 17 00:00:00 2001 From: noba Date: Tue, 20 Nov 2018 23:41:04 +0900 Subject: [PATCH] Change cp command recursion flag (#522) --- publish.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish.sh b/publish.sh index bc4432387..d7c3cd018 100755 --- a/publish.sh +++ b/publish.sh @@ -16,12 +16,12 @@ git clone -b gh-pages "https://${GH_TOKEN}@github.com/facebook/graphql.git" gh-p # Replace /draft with this build. echo "Publishing to: /draft" rm -rf gh-pages/draft -cp -r out/ gh-pages/draft +cp -R out/ gh-pages/draft # If this is a tagged commit, publish to a permalink and index. if [ -n "$GITTAG" ]; then echo "Publishing to: /$GITTAG" - cp -r out/ "gh-pages/$GITTAG" + cp -R out/ "gh-pages/$GITTAG" fi # Create the index file