Skip to content

Commit

Permalink
Modify gitlab-ci for mirroring
Browse files Browse the repository at this point in the history
  • Loading branch information
hiromipaw committed Sep 1, 2017
1 parent 40288fd commit ef03aa3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,9 @@ build:
update:
script:
- echo "merging from torgit"
- git clone [email protected]:hiro/tor.git
- "cd tor"
- git remote add upstream https://git.torproject.org/tor.git
- git clone --bare https://git.torproject.org/tor.git
- "cd tor"
- git checkout master
- git config --global user.email "[email protected]"
- git config --global user.name "gitadmin"
- git pull -Xtheirs upstream master
- git push origin master
- git push --mirror [email protected]:hiro/tor.git

0 comments on commit ef03aa3

Please sign in to comment.