lib.itmens/.github/workflows/mirror.yml

19 lines
447 B
YAML
Raw Normal View History

2025-01-18 12:29:52 -05:00
name: Mirror to Codeberg
on: [push, delete]
jobs:
2025-02-28 20:57:56 -05:00
to_codeberg:
2025-01-18 12:29:52 -05:00
if: github.repository_owner == 'neodb-social'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: pixta-dev/repository-mirroring-action@v1
with:
target_repo_url:
git@codeberg.org:NeoDB/neodb.git
ssh_private_key:
${{ secrets.CODEBERG_SSH_PRIVATEKEY }}