From b46c33d5b86cddadc23c284f8fb1c85bfca33763 Mon Sep 17 00:00:00 2001 From: Ilya Prokopenko Date: Sat, 4 Feb 2023 10:49:25 +0000 Subject: [PATCH] Add an action for proper repository mirroring --- .github/workflows/codeberg-mirror.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/codeberg-mirror.yml diff --git a/.github/workflows/codeberg-mirror.yml b/.github/workflows/codeberg-mirror.yml new file mode 100644 index 0000000..1444735 --- /dev/null +++ b/.github/workflows/codeberg-mirror.yml @@ -0,0 +1,15 @@ +name: Codeberg Mirroring + +on: push + +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:openvk/chandler.git" + ssh_private_key: ${{ secrets.CODEBERG_MIRRORSSH }}