Commit ef03aa3f authored by Hiro's avatar Hiro 🏄
Browse files

Modify gitlab-ci for mirroring

parent 40288fd7
......@@ -30,11 +30,9 @@ build:
update:
script:
- echo "merging from torgit"
- git clone git@oniongit.eu: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 "labadmin@oniongit.eu"
- git config --global user.name "gitadmin"
- git pull -Xtheirs upstream master
- git push origin master
- git push --mirror git@oniongit.eu:hiro/tor.git
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment