Skip to content

Commit 86fc1f8

Browse files
committed
delete removed files from git when updating branch docs
1 parent b938b66 commit 86fc1f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

jsdoc/publish.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ if [ "$TRAVIS_REPO_SLUG" == "watson-developer-cloud/node-sdk" ] && [ "$TRAVIS_PU
2929
# generate an incdex file listing all of the versions
3030
../jsdoc/generate_index_html.sh > index.html
3131

32-
git add -f .
32+
# add all changes to git, including deleted files
33+
git add -f -A .
3334
git commit -m "JSDdoc for $TRAVIS_BRANCH ($TRAVIS_COMMIT)"
3435
git push -fq origin gh-pages > /dev/null
3536

0 commit comments

Comments
 (0)