From 1cf808e5ea64b280407d24b6e8baa1f38d527292 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Sat, 3 Feb 2024 20:14:12 -0500 Subject: [PATCH] only run page deployment if the frontend folder changed --- .github/workflows/generate-gh-pages.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/generate-gh-pages.yml b/.github/workflows/generate-gh-pages.yml index 6e2719e..ca312d2 100644 --- a/.github/workflows/generate-gh-pages.yml +++ b/.github/workflows/generate-gh-pages.yml @@ -4,6 +4,8 @@ on: # Runs on pushes targeting the default branch push: branches: ["main"] + paths: + - 'frontend/**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: