Skip to content

Commit 4d6d0c7

Browse files
authored
Create workflow to mirror to GitLab (#52)
1 parent ea602f1 commit 4d6d0c7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/mirror-gitlab

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Mirror to GitLab
2+
3+
on: [push, delete]
4+
5+
jobs:
6+
mirror:
7+
runs-on: ubuntu-latest
8+
steps: # <-- must use actions/checkout before mirroring!
9+
- uses: actions/checkout@v2
10+
with:
11+
fetch-depth: 0
12+
- uses: pixta-dev/repository-mirroring-action@v1
13+
with:
14+
target_repo_url:
15+
[email protected]:dacs-hpi/hiclass.git
16+
ssh_private_key: # <-- use 'secrets' to pass credential information.
17+
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)