Skip to content

Commit 58e0d21

Browse files
committed
feat: sync private repo
1 parent 87d33b2 commit 58e0d21

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/sync-mirror.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Sync Mirror
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
# TODO: REMOVE v
8+
pull_request:
9+
branches: [ main ]
10+
# TODO: REMOVE ^
11+
12+
jobs:
13+
git-sync:
14+
if: github.repository == 'awslabs/aws-sdk-kotlin'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: git-sync
18+
uses: wei/git-sync@v3
19+
with:
20+
source_repo: "awslabs/aws-sdk-kotlin"
21+
source_branch: "main"
22+
destination_repo: ${{ secrets.GIT_SYNC_DESTINATION_REPO }}
23+
destination_branch: "main"
24+
# destination_ssh_private_key: ${{ secrets.GIT_SYNC_DESTINATION_SSH_PRIVATE_KEY }}

0 commit comments

Comments
 (0)