18 lines
447 B
YAML
18 lines
447 B
YAML
name: Mirror to Codeberg
|
|
|
|
on: [push, delete]
|
|
|
|
jobs:
|
|
to_codeberg:
|
|
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 }}
|