Skip to content

Commit 688d3d5

Browse files
committed
chore(ci): add action to mirror repo to codeberg
1 parent b6f51d4 commit 688d3d5

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Mirror to Codeberg
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
delete:
7+
create:
8+
workflow_dispatch:
9+
10+
jobs:
11+
mirror-repo:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v5
15+
with:
16+
fetch-depth: 0
17+
- uses: yesolutions/mirror-action@master
18+
with:
19+
REMOTE: "https://codeberg.org/nikoksr/typeid-zig.git"
20+
GIT_USERNAME: "nikoksr"
21+
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}

0 commit comments

Comments
 (0)