From c34fc73094a8e1e83f600b5635af8c5e4deb55b0 Mon Sep 17 00:00:00 2001 From: betolink Date: Sun, 4 Dec 2022 20:44:19 -0600 Subject: [PATCH] only rebuild docs if we modify code or docs --- .github/workflows/documentation.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 6a1bf835..e86343df 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -2,6 +2,18 @@ name: Documentation on: push: + paths: + - earthaccess/** + - tests/** + - docs/** + - notebooks/** + pull_request: + paths: + - earthaccess/** + - tests/** + - docs/** + - notebooks/** + types: [opened, synchronize] jobs: documentation: