Skip to content
Snippets Groups Projects
Commit ef03aa3f authored by Hiro's avatar Hiro :surfer:
Browse files

Modify gitlab-ci for mirroring

parent 40288fd7
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment