From 3e70b1ae485ce2cd59b6206f3152daab5ba510ba Mon Sep 17 00:00:00 2001 From: Rohit Tanwar <31792358+kriadmin@users.noreply.github.com> Date: Tue, 9 Jan 2018 06:00:24 +0530 Subject: [PATCH] Update push.sh --- .travis/push.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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