Loading gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ sync: script: - echo "[${GIT_PULL_REPO}] -> [${GIT_PUSH_REPO}]" - rm -rf /tmp/repo - git clone --mirror "${GIT_PULL_REPO}" /tmp/repo - cd /tmp/repo - git lfs fetch --all - git push --mirror "${GIT_PUSH_REPO}" - git lfs push --all "${GIT_PUSH_REPO}" - git clone --mirror "${GIT_PULL_REPO}" "${GIT_PUSH_REPO}" # - cd /tmp/repo # - git lfs fetch --all # - git push --mirror "${GIT_PUSH_REPO}" # - git lfs push --all "${GIT_PUSH_REPO}" Loading
gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -46,8 +46,8 @@ sync: script: - echo "[${GIT_PULL_REPO}] -> [${GIT_PUSH_REPO}]" - rm -rf /tmp/repo - git clone --mirror "${GIT_PULL_REPO}" /tmp/repo - cd /tmp/repo - git lfs fetch --all - git push --mirror "${GIT_PUSH_REPO}" - git lfs push --all "${GIT_PUSH_REPO}" - git clone --mirror "${GIT_PULL_REPO}" "${GIT_PUSH_REPO}" # - cd /tmp/repo # - git lfs fetch --all # - git push --mirror "${GIT_PUSH_REPO}" # - git lfs push --all "${GIT_PUSH_REPO}"