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 }