Skip to content
Snippets Groups Projects
Commit 3cc705d3 authored by Éloïs's avatar Éloïs
Browse files

[ci] remove job github-sync (use gitlab mirroring instead)

parent bb13a3e6
No related branches found
No related tags found
No related merge requests found
stages: stages:
- github-sync
- build - build
- test - test
- integration - integration
...@@ -7,27 +6,6 @@ stages: ...@@ -7,27 +6,6 @@ stages:
- prerelease - prerelease
- release - release
push_to_github:
stage: github-sync
variables:
GIT_STRATEGY: none
tags:
- github
script:
- rm -rf ./*
- rm -rf .git
- git clone --mirror $CI_REPOSITORY_URL
- git remote add github $GITHUB_URL_AND_KEY
- git config --global user.email "contact@duniter.org"
- git config --global user.name "Duniter"
# Job would fail if we don't remove refs about pull requests
- bash -c "cat packed-refs | grep -v 'refs/pull' > packed-refs-new; echo 'Removed pull refs.'"
- mv packed-refs-new packed-refs
- bash -c "git push --force --mirror github 2>&1 | grep -v duniter-gitlab; echo $?"
only:
- master
- dev
.changes: &changes .changes: &changes
only: only:
changes: changes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment