Skip to content

Commit fff6cd0

Browse files
authored
Update destination repository for git sync workflow
1 parent 35186fb commit fff6cd0

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Mirror to Codeberg
2+
3+
on:
4+
push:
5+
branches: [ "main", "master" ]
6+
workflow_dispatch:
7+
8+
jobs:
9+
codeberg-mirror:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Mirror to Codeberg
13+
uses: wei/git-sync@v3
14+
with:
15+
source_repo: "https://github.com/${{ github.repository }}.git"
16+
source_branch: "refs/heads/*"
17+
destination_repo: "ssh://git@codeberg.org/MeidoPromotionAssociation/COM3D2.ResourceUnloadOptimizations.Plugin.git"
18+
destination_branch: "refs/heads/*"
19+
ssh_private_key: ${{ secrets.CODEBERG_SSH_KEY }}

0 commit comments

Comments
 (0)