Skip to content

Commit 40de74c

Browse files
authored
Add GitHub Actions workflow for Codeberg mirror
1 parent f353571 commit 40de74c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/mirror.yaml

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

0 commit comments

Comments
 (0)