From ca5ca8be888e5ec521c4ee6f3b2fb5bfe58c7128 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 30 Jul 2022 22:27:03 +0100 Subject: [PATCH] Changes base action for codeberg mirror --- .github/workflows/sync-mirror.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sync-mirror.yml b/.github/workflows/sync-mirror.yml index e39feaa..3840105 100644 --- a/.github/workflows/sync-mirror.yml +++ b/.github/workflows/sync-mirror.yml @@ -10,12 +10,10 @@ jobs: codeberg: runs-on: ubuntu-latest steps: - - name: git-sync - uses: wei/git-sync@v3 + - uses: actions/checkout@v2 with: - source_repo: "lissy93/awesome-privacy" - source_branch: "main" - destination_repo: "git@codeberg.org:alicia/awesome-privacy.git" - destination_branch: "main" + fetch-depth: 0 + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: "git@codeberg.org:alicia/awesome-privacy.git" ssh_private_key: ${{ secrets.CODEBERG_SSH }} -