File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ name: GitLab Mirror Test
22
33on : [push, delete]
44
5+ # Ensures that only one mirror task will run at a time.
6+ concurrency :
7+ group : git-mirror
8+
59jobs :
610 git-mirror :
711 runs-on : ubuntu-latest
1519 git remote show origin
1620 git for-each-ref
1721 - name : Mirror to GitLab
18- uses : yesolutions/mirror-action@master
22+ uses : wearerequired/git-mirror-action@v1
23+ env :
24+ SSH_PRIVATE_KEY : ${{ secrets.GITLAB_TEST_PKEY }}
25+ SSH_KNOWN_HOSTS : ${{ secrets.GITLAB_TEST_HOSTS }}
1926 with :
20- REMOTE : https://gitlab.ldbar.ch/interactivethings/visualize-mirroring-test.git
21- DEBUG : " true"
22- GIT_USERNAME : gitlab+deploy-token-8
23- GIT_PASSWORD : ${{ secrets.GITLAB_PASSWORD_TEST }}
27+ source-repo : " git@github.com:visualize-admin/visualization-tool.git"
28+ destination-repo : " git@gitlab.ldbar.ch:interactivethings/visualize-mirroring-test.git"
You can’t perform that action at this time.
0 commit comments