diff --git a/.github/workflows/mirror-to-codeberg.yml b/.github/workflows/mirror-to-codeberg.yml index ec251fb..1d2643c 100644 --- a/.github/workflows/mirror-to-codeberg.yml +++ b/.github/workflows/mirror-to-codeberg.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Set up SSH run: | @@ -19,10 +21,6 @@ jobs: echo "${{ secrets.CODEBERG_SSH_KEY }}" > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 ssh-keyscan codeberg.org >> ~/.ssh/known_hosts - ssh -i ~/.ssh/id_ed25519 git@codeberg.org || true - - - name: Show remotes - run: git remote -v - name: Push to Codeberg run: |