Skip to content
Snippets Groups Projects
Commit 498715fa authored by Joseph Weston's avatar Joseph Weston
Browse files

ci: remove repository mirroring

It's now done by Gitlab itself using kwant-bot's account on
Github.
parent 50898f7d
No related branches found
No related tags found
No related merge requests found
Pipeline #11803 passed
......@@ -7,18 +7,3 @@ test:
artifacts:
paths:
- htmlcov
mirror repository:
allow_failure: true
variables:
REPO: "git@github.com:python-adaptive/adaptive.git"
before_script:
- mkdir ~/.ssh && chmod 700 ~/.ssh
- ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
- echo "$DEPLOY_KEY" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
after_script:
- rm -rf ~/.ssh
script:
- ORIGIN_URL=$(git config --get remote.origin.url)
- cd $(mktemp -d); git clone --bare $ORIGIN_URL .
- git push --mirror $REPO
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