Skip to content

Commit a72fc94

Browse files
committed
add action to update codeberg mirror
1 parent db74c0d commit a72fc94

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/mirror.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
on: [push]
2+
3+
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
8+
steps:
9+
- uses: actions/checkout@v5
10+
with:
11+
fetch-depth: 0
12+
- uses: yesolutions/mirror-action@master
13+
with:
14+
REMOTE: 'https://codeberg.org/${{ github.actor }}/${{ github.repository }}.git'
15+
GIT_USERNAME: ${{ github.actor }}
16+
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }}

0 commit comments

Comments
 (0)