Update push.sh

This commit is contained in:
Angelos Chalaris
2019-12-05 20:02:41 +02:00
committed by GitHub
parent 225d551943
commit 7321731bcd

View File

@ -25,7 +25,7 @@ upload_files() {
if [ $TRAVIS_EVENT_TYPE != "pull_request" ]; then if [ $TRAVIS_EVENT_TYPE != "pull_request" ]; then
if [ $TRAVIS_BRANCH == "master" ]; then if [ $TRAVIS_BRANCH == "master" ]; then
echo "Pushing to master branch..." echo "Pushing to master branch..."
git push --force --quiet "https://${GH_TOKEN}@github.com/30-seconds/30-seconds-of-css.git" master > /dev/null 2>&1 git push --quiet "https://${GH_TOKEN}@github.com/30-seconds/30-seconds-of-css.git" master > /dev/null 2>&1
fi fi
fi fi
} }