Remove GitHub mirroring

GitLab included this feature in their latest update, this is no longer needed.
parent bf60a2e9
Pipeline #2035 passed with stage
in 2 minutes and 2 seconds
image: node:latest
stages:
- mirror
- test
cache:
paths:
- node_modules/
mirror:
stage: mirror
script:
- mkdir -p ~/.ssh
- echo "$GITHUB_SSH_KEY" > ~/.ssh/id_rsa
- ssh-keyscan github.com > ~/.ssh/known_hosts
- ssh-keyscan git.cartooncraft.fr >> ~/.ssh/known_hosts
- chmod -R 0600 ~/.ssh/
- rm -rf git || true
- git clone --mirror git@git.cartooncraft.fr:ThePooN/bancho.js.git git/
- cd git
- git push --mirror git@github.com:ThePooN/bancho.js.git
only:
- branches@ThePooN/bancho.js
- tags@ThePooN/bancho.js
eslint:
stage: test
script:
......
Markdown is supported
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