Skip to content

Commit cb35c7e

Browse files
committed
feat: Workflow to mirror to Codeberg
1 parent 6bda5f1 commit cb35c7e

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/mirror.yml

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+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '30 0 * * 0'
7+
push:
8+
branches: [ 'main' ]
9+
tags: [ 'v*' ]
10+
jobs:
11+
codeberg:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with: { fetch-depth: 0 }
16+
- uses: pixta-dev/repository-mirroring-action@v1
17+
with:
18+
target_repo_url: [email protected]:alicia/domain-locker.git
19+
ssh_private_key: ${{ secrets.CODEBERG_SSH }}

0 commit comments

Comments
 (0)