From bcbf2a12e19aadfe859fa57b1ff349798d96a971 Mon Sep 17 00:00:00 2001 From: jgromes Date: Tue, 11 Feb 2025 20:18:32 +0100 Subject: [PATCH] [CI] Allow code coverage report deploy only from master --- .github/workflows/unit-test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 0d61656c..b46a5160 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -38,6 +38,7 @@ jobs: path: extras/test/unit/lcov.report - name: Deploy to GitHub Pages + if: github.ref == 'refs/heads/master' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }}