From 8944b97ad29782a47fda625dc425e1e5393939f6 Mon Sep 17 00:00:00 2001 From: martintmk <103487740+martintmk@users.noreply.github.com> Date: Mon, 18 Sep 2023 11:39:23 +0200 Subject: [PATCH] Don't publish docs on PRs (#1596) --- .github/workflows/gh-pages.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index b0c0a2858d2..130407ac7d4 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -30,6 +30,7 @@ jobs: - run: dotnet docfx docs/docfx.json - name: Deploy + if: github.event_name != 'pull_request' # if: startsWith(github.ref, 'refs/tags/') uses: peaceiris/actions-gh-pages@v3 with: