From 01077dcf5c3bb3c00d42ded6fd8cb5cbd3fe999d Mon Sep 17 00:00:00 2001 From: Rohit Tanwar Date: Tue, 16 Jan 2018 18:11:37 +0530 Subject: [PATCH] Travis --- .travis/push.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis/push.sh b/.travis/push.sh index c515959c9..9e54a9a66 100755 --- a/.travis/push.sh +++ b/.travis/push.sh @@ -7,7 +7,7 @@ commit_website_files() { if [ $TRAVIS_EVENT_TYPE != "pull_request" ]; then if [ $TRAVIS_BRANCH == "master" ]; then echo "Committing to master branch..." - git checkout -b "travis" + git checkout master git add -A git commit -a --message="travis_commit" fi @@ -18,7 +18,7 @@ upload_files() { if [ $TRAVIS_EVENT_TYPE != "pull_request" ]; then if [ $TRAVIS_BRANCH == "master" ]; then echo "Pushing to master branch..." - git push --force "https://${GH_TOKEN}@github.com/kriadmin/30-seconds-of-python-code.git" travis + git push --force "https://${GH_TOKEN}@github.com/kriadmin/30-seconds-of-python-code.git" master fi fi }