From 2826bc60dcd079b679f3443b37a951fe06c8134c Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 Jan 2025 12:29:52 -0500 Subject: [PATCH] mirror to codeberg --- .github/workflows/mirror.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/mirror.yml 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 }}