.github: add mirroring workflow

This commit is contained in:
git-bruh 2022-08-23 16:42:34 +05:30
parent c56b62c388
commit 6b6e2da38e
No known key found for this signature in database
GPG Key ID: E1475C50075ADCE6

17
.github/workflows/mirror.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Mirroring
on: [push, delete]
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:kiss-community/repo
ssh_private_key:
${{ secrets.CODEBERG_DEPLOY_KEY }}