Skip to content

Commit c17d5f1

Browse files
committed
feat: Add new GitLab mirroring GitHub Action
1 parent 61151a7 commit c17d5f1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: GitLab Mirror Test
2+
3+
on: [push, delete]
4+
5+
# Ensures that only one mirror task will run at a time.
6+
concurrency:
7+
group: git-mirror
8+
9+
jobs:
10+
git-mirror:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0
16+
- uses: wearerequired/git-mirror-action@v1
17+
env:
18+
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
19+
with:
20+
source-repo: "git@github.com:visualize-admin/visualization-tool.git"
21+
destination-repo: "git@gitlab.ldbar.ch:interactivethings/visualize-mirroring-test.git"

0 commit comments

Comments
 (0)