Skip to content

Commit

Permalink
Fix the error when add git remote (#5)
Browse files Browse the repository at this point in the history
* Fix the error when add git remote

* Always remove remote backup at the end
  • Loading branch information
LinuxSuRen authored Oct 9, 2020
1 parent 678d427 commit bfccc7f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ git config --global user.name "${GITHUB_ACTOR}"
git config --global user.email "${GITHUB_ACTOR}@users.noreply.github.com"
echo 'ready to push'
git push backup master -f
git remote remove backup

0 comments on commit bfccc7f

Please sign in to comment.