Skip to content

Commit b397590

Browse files
EvilOlafigorpecovnik
authored andcommitted
Create mirror_to_codeberg.yml
1 parent 8fb61c9 commit b397590

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Pushes the contents of the repo to the Codeberg mirror
2+
name: Mirror to Codeberg
3+
permissions:
4+
contents: read
5+
on:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: '30 4 * * *' # Daily at 4:30
9+
jobs:
10+
codeberg:
11+
if: ${{ github.repository == 'armbian/build' }}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v6
15+
with: { fetch-depth: 0 }
16+
- uses: pixta-dev/repository-mirroring-action@v1
17+
with:
18+
target_repo_url: [email protected]:armbian/build.git
19+
ssh_private_key: ${{ secrets.GHA_SSH_KEY }}

0 commit comments

Comments
 (0)