diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..589c6e05 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,18 @@ +name: Mirror to Codeberg + +on: [push, delete] + +jobs: + to_gitlab: + 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 }}