Skip to content

Commit eae2f44

Browse files
copy docs.publish.sh
1 parent 27e135c commit eae2f44

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/publish.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@ if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/python-sdk" ] && [ "$TRAVIS_
1717
pushd gh-pages
1818
# on tagged builds, $TRAVIS_BRANCH is the tag (e.g. v1.2.3), otherwise it's the branch name (e.g. master)
1919
rm -rf $TRAVIS_BRANCH
20-
mkdir $TRAVIS_BRANCH
21-
cp -Rf ../_build/html/ ./$TRAVIS_BRANCH/
20+
cp -Rf ../_build/html/ $TRAVIS_BRANCH
2221
../generate_index_html.sh > index.html
2322

2423
git add -f .

0 commit comments

Comments
 (0)