Skip to content

Commit

Permalink
Change cp command recursion flag (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
foo0x29a authored and leebyron committed Nov 20, 2018
1 parent b79c7f7 commit 972f2cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions publish.sh
Expand Up @@ -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
Expand Down

0 comments on commit 972f2cb

Please sign in to comment.