Permalink
Browse files

chore(ci): Use git push --force

  • Loading branch information...
anishkny committed May 23, 2018
1 parent 9367318 commit 0e471f7cb575429078e508235b7842572ba97b7d
Showing with 6 additions and 2 deletions.
  1. +5 −1 .travis.yml
  2. +1 −1 etc/push.sh
@@ -1,6 +1,10 @@
language: node_js
node_js:
- "10"
git:
depth: false
script:
- cd etc && ./push.sh
@@ -13,4 +13,4 @@ git checkout -b $BRANCH_NAME
git add ../README.md
git commit --message "Auto-update README" || exit 0
git remote add origin-$BRANCH_NAME https://${GH_TOKEN}@github.com/${GH_REPO}.git
git push --quiet --set-upstream origin-$BRANCH_NAME $BRANCH_NAME
git push --force --quiet --set-upstream origin-$BRANCH_NAME $BRANCH_NAME

0 comments on commit 0e471f7

Please sign in to comment.