Skip to content

Commit 8652fc5

Browse files
authored
Create mirror_to_codeberg.yml
1 parent b7c7ce5 commit 8652fc5

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_Simple_MOD_Guide_Chinese.git"
18+
destination_branch: "refs/heads/*"
19+
ssh_private_key: ${{ secrets.CODEBERG_SSH_KEY }}

0 commit comments

Comments
 (0)