Skip to content

Commit 875bf58

Browse files
Tim WrightTim Wright
authored andcommitted
Added mirror to gitlab step
1 parent 9d2013c commit 875bf58

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Mirror to GitLab
2+
3+
on: [push]
4+
5+
jobs:
6+
mirror-repository:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
with:
11+
fetch-depth: 0
12+
- name: mirror-repository
13+
uses: yesolutions/mirror-action@master
14+
with:
15+
REMOTE: ${{ secrets.GITLAB_REPO_SSH }}
16+
GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_PRIVATE_KEY }}
17+
GIT_SSH_NO_VERIFY_HOST: ${{ secrets.GIT_SSH_NO_VERIFY_HOST }}
18+
PUSH_ALL_REFS: "false"

0 commit comments

Comments
 (0)