Skip to content

Commit 7f73e14

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

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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: wearerequired/git-mirror-action@v1
14+
env:
15+
SSH_PRIVATE_KEY: ${{ secrets.GITLAB_SSH_PRIVATE_KEY }}
16+
with:
17+
source-repo: "git@github.com:visualize-admin/visualization-tool.git"
18+
destination-repo: "git@gitlab.ldbar.ch:interactivethings/visualize-mirroring-test.git"

0 commit comments

Comments
 (0)