diff --git a/.travis/push.sh b/.travis/push.sh index 0d5e2fe1b..59a296896 100755 --- a/.travis/push.sh +++ b/.travis/push.sh @@ -8,7 +8,8 @@ commit_website_files() { if [ $TRAVIS_BRANCH == "master" ]; then echo "Committing to master branch..." git checkout master - git add * + cd .. + git add -A if [ $TRAVIS_EVENT_TYPE == "cron" ]; then git commit --message "Travis build: $TRAVIS_BUILD_NUMBER [cron]" elif [ $TRAVIS_EVENT_TYPE == "api" ]; then