diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 11ad7898..210d381c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -175,6 +175,7 @@ jobs: docs-deploy: name: Deploy Documentation runs-on: ubuntu-latest + if: github.ref_name == 'main' || startsWith(github.ref, 'refs/tags/') needs: - docs-lint permissions: