Add an action for proper repository mirroring

This commit is contained in:
Ilya Prokopenko 2023-02-04 10:55:49 +00:00 committed by GitHub
parent 6490e05ae7
commit 4cf78a68a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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/commitcaptcha.git"
ssh_private_key: ${{ secrets.CODEBERG_MIRRORSSH }}