Skip to content

Commit 21f3cbc

Browse files
Create gitlab-mirror.yml
1 parent d9b2675 commit 21f3cbc

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Mirror to GitLab
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- master
7+
delete:
8+
branches:
9+
- main
10+
- master
11+
12+
jobs:
13+
mirror:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
19+
- uses: pixta-dev/repository-mirroring-action@v1
20+
with:
21+
target_repo_url:
22+
git@gitlab.com:alphabetanetcom/secure-python-code-manager.git
23+
ssh_private_key:
24+
${{ secrets.GITLAB_SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)