From 6f020399d8734dac6f5ee212d750751eeebe9d2e Mon Sep 17 00:00:00 2001 From: Cuong-Tran <16017808+cuong-tran@users.noreply.github.com> Date: Thu, 16 Apr 2026 16:22:27 +0700 Subject: [PATCH] chore(ci): Add SSH key setup for Codeberg repository mirroring (#1595) --- .github/workflows/codeberg_mirror.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/codeberg_mirror.yml b/.github/workflows/codeberg_mirror.yml index e5292f8b4..e1532f75c 100644 --- a/.github/workflows/codeberg_mirror.yml +++ b/.github/workflows/codeberg_mirror.yml @@ -16,6 +16,11 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 + - name: Setup SSH key + run: | + mkdir -p ~/.ssh + echo "${{ secrets.CODEBERG_SSH }}" >> ~/.ssh/id_rsa + chmod 600 ~/.ssh/id_rsa - uses: pixta-dev/repository-mirroring-action@674e65a7d483ca28dafaacba0d07351bdcc8bd75 # v1.1.1 with: target_repo_url: "git@codeberg.org:cuong-tran/komikku.git"