Add an action for proper repository mirroring

This commit is contained in:
Ilya Prokopenko 2023-02-04 10:49:25 +00:00 committed by GitHub
parent 68a9a05965
commit b46c33d5b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

15
.github/workflows/codeberg-mirror.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Codeberg Mirroring
on: push
jobs:
to_codeberg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url: "git@codeberg.org:openvk/chandler.git"
ssh_private_key: ${{ secrets.CODEBERG_MIRRORSSH }}