aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-11-27 17:56:03 -0600
committerJP Dillingham <jp@dillingham.me>2025-11-27 17:56:03 -0600
commit23c16c7cc029341fcce54dcf81c857b113768491 (patch)
tree2803a6cb1511a43248648c456dbbbcf877c4b141 /.github
parent5ccb3d1350f466b6c3f8ff00791cc56dafd3a4c5 (diff)
downloadslskd-23c16c7cc029341fcce54dcf81c857b113768491.tar.gz
mirror again
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/mirror.yml10
1 files changed, 3 insertions, 7 deletions
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