From 5ba9613a89d0ef47f905dc53859090ecb3b39b6a Mon Sep 17 00:00:00 2001 From: Alan O'Callaghan Date: Tue, 3 Dec 2024 14:31:17 +0000 Subject: [PATCH] Use global secret --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c5372fc..19daf29 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -59,7 +59,7 @@ jobs: - name: Clone badges repo if: github.ref_name == 'main' && matrix.os == 'ubuntu-latest' run: | - git clone --branch=gh-pages https://${{ secrets.TARGET_REPO_ACCESS_TOKEN }}@github.com/qupath/badges.git badges + git clone --branch=gh-pages https://${{ secrets.BADGES_ACCESS_TOKEN }}@github.com/qupath/badges.git badges ## cba handling merging or dealing with stale resources rm -rf badges/${{ github.event.repository.name }} mkdir -p badges/${{ github.event.repository.name }}