From 69178dcf5dfc8b0b584521a98e8f1b1386c7e71c Mon Sep 17 00:00:00 2001 From: Pierre Romera Date: Thu, 8 Feb 2024 13:04:02 +0100 Subject: [PATCH] ci: only publish doc when a new version is released --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd7fd4e2..5fee2b1b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -83,6 +83,7 @@ jobs: path: prophecies/static/docs/ docs-publish: + if: github.event_name == 'push' && contains(github.ref, 'refs/tags/v') runs-on: ubuntu-latest needs: [build] permissions: