Skip to content

Commit 1c8baab

Browse files
author
travis-ci
committed
copy the entire folder when publishing a site
1 parent 4326a17 commit 1c8baab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/publish.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/python-sdk" ] && [ "$TRAVIS_
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
2020
mkdir $TRAVIS_BRANCH
21-
cp -Rf ../_build/html/*/* ./$TRAVIS_BRANCH
21+
cp -Rf ../_build/html ./$TRAVIS_BRANCH
2222
../generate_index_html.sh > index.html
2323

2424
git add -f .

0 commit comments

Comments
 (0)