From 206a8921aaef44a31077412a8d81e256d2f0b50f Mon Sep 17 00:00:00 2001 From: Zoey Date: Wed, 18 Aug 2021 14:21:16 -0700 Subject: [PATCH] Only automatically build site when the sites directory changes --- .github/workflows/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9e53a9d..1b84d27 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,6 +7,7 @@ on: # Triggers the workflow on push or pull request events but only for the main branch push: branches: [main] + paths: [site/**] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: