From 4c730d78858054ce22b8d27fae528d404d2107a5 Mon Sep 17 00:00:00 2001 From: Sean Kim Date: Tue, 9 Apr 2024 23:33:34 +0000 Subject: [PATCH] Only preview on PR --- .github/workflows/docs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 8d60ed81..3932fe06 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -40,6 +40,7 @@ jobs: make html - name: Preview docs uses: rossjrw/pr-preview-action@v1 + if: github.event_name == 'pull_request' with: source-dir: ./docs/build/html - name: Deploy docs