Skip to content

Commit 096e1de

Browse files
committed
Improving the master build (hopefully)
1 parent 44745f4 commit 096e1de

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,23 @@ before_deploy:
1919
if [[ $TRAVIS_BRANCH == 'master' ]] ; then
2020
cp ../redoc.html index.html
2121
cp ../errors.json errors.json
22-
cp -r ../assets assets
22+
cp -rv ../assets/. assets/
2323
fi
2424
- |
2525
if [[ $TRAVIS_BRANCH == 'draft' ]] ; then
2626
rm -rf draft
2727
mkdir -p draft
2828
cp ../redoc.html draft/index.html
2929
cp ../errors.json draft/errors.json
30-
cp -r ../assets draft/assets
30+
cp -rv ../assets/. draft/assets/
3131
fi
3232
- |
3333
if [ -n "$TRAVIS_TAG" ] ; then
3434
rm -rf $TRAVIS_TAG
3535
mkdir -p $TRAVIS_TAG
3636
cp ../redoc.html $TRAVIS_TAG/index.html
3737
cp ../errors.json $TRAVIS_TAG/errors.json
38-
cp -r ../assets $TRAVIS_TAG/assets
38+
cp -rv ../assets/. $TRAVIS_TAG/assets/
3939
fi
4040
4141
deploy:

0 commit comments

Comments
 (0)