Skip to content
Snippets Groups Projects
Commit 867de919 authored by Millicent Billette's avatar Millicent Billette
Browse files

CI: auto mirror

parent 65fbe252
No related branches found
No related tags found
No related merge requests found
Pipeline #11877 failed
......@@ -36,9 +36,9 @@ build:
- ssh-keyscan $GIT_MIRROR_HOST 2>&1 | grep -vE '^#' > ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
- git remote add mirrorTarget $GIT_MIRROR_TARGET || true
- git reset HEAD --hard
- git checkout main
- git status
- git log
- cat .git/config
- git push -u mirrorTarget main
- git push -u mirrorTarget --all
- git push -u mirrorTarget --tags
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment