From e263f52974275de2ef3727be258ba6261326d228 Mon Sep 17 00:00:00 2001 From: Nathan Whitehead Date: Wed, 11 Dec 2024 09:36:31 -0700 Subject: [PATCH] Only deploy docs on push to versioned tag. --- .github/workflows/docs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 177696f..74a4869 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -29,6 +29,7 @@ jobs: path: ./doc/build/html/ deploy: + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') needs: build_doc runs-on: ubuntu-latest