From 23c16c7cc029341fcce54dcf81c857b113768491 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Thu, 27 Nov 2025 17:56:03 -0600 Subject: mirror again --- .github/workflows/mirror.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml index 3a949fb8..0d11a6b7 100644 --- a/.github/workflows/mirror.yml +++ b/.github/workflows/mirror.yml @@ -54,16 +54,12 @@ jobs: git config --global user.name "GitHub Actions" git config --global user.email "actions@github.com" - - name: Check out GitHub Repository - uses: actions/checkout@v6 - with: - fetch-depth: 0 - - - name: Clean up hidden GitHub refs + - name: Check out repo run: | - git for-each-ref --format="delete %(refname)" refs/pull refs/original | git update-ref --stdin + git clone --bare https://github.com/slskd/slskd slskd - name: Mirror to ${{ matrix.target.name }} + working-directory: ./slskd run: | git remote add mirror ${{ matrix.target.repo }} git push --mirror mirror \ No newline at end of file -- cgit v1.2.3