From 6b6e2da38e8b5bf94a5cfab2b10a15ef363eae1c Mon Sep 17 00:00:00 2001 From: git-bruh Date: Tue, 23 Aug 2022 16:42:34 +0530 Subject: [PATCH] .github: add mirroring workflow --- .github/workflows/mirror.yml | 17 +++++++++++++++++ 1 file changed, 17 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..91cbebd4 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,17 @@ +name: Mirroring + +on: [push, delete] + +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:kiss-community/repo + ssh_private_key: + ${{ secrets.CODEBERG_DEPLOY_KEY }}