Skip to content

Commit 1d1eebe

Browse files
committed
mirror to codeberg
1 parent 6d1c2fe commit 1d1eebe

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Mirror Code to Codeberg
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
mirror:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout Repository
14+
uses: actions/checkout@v6
15+
with:
16+
fetch-depth: 0
17+
- name: Mirror to Codeberg
18+
uses: yesolutions/mirror-action@master
19+
with:
20+
REMOTE: git@codeberg.org:lume/init.git
21+
GIT_SSH_PRIVATE_KEY: ${{ secrets.MIRROR_CODEBERG_SSH_KEY }}
22+
GIT_SSH_NO_VERIFY_HOST: "true"

0 commit comments

Comments
 (0)