Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1ef2174

Browse files
author
Martin Peck
committedMay 14, 2025·
Use ssh agent for auth.
1 parent dfc59f8 commit 1ef2174

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
 

‎.github/workflows/gitlab-mirror.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: GitLab Mirror
2+
3+
on:
4+
- push
5+
- delete
6+
7+
jobs:
8+
sync:
9+
runs-on: ubuntu-latest
10+
name: Git Repo Sync
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- uses: webfactory/ssh-agent@v0.9.0
16+
with:
17+
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
18+
- uses: wangchucheng/git-repo-sync@v0.1.0
19+
with:
20+
target-url: https://gitlab.com/meedan/pender.git/
21+
target-username: sonoransun

0 commit comments

Comments
 (0)
Please sign in to comment.