From d04d9f68803db172acfa7e6feebc7b7e02408464 Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Sun, 29 Oct 2023 20:20:17 -0500 Subject: [PATCH 1/2] Update hugo.yaml Ignore these paths (no build needed): paths: - '!**' - 'docs/**' Signed-off-by: Lee Calcote --- .github/workflows/hugo.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index e4e39970..9c76c7cf 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -6,7 +6,9 @@ on: push: branches: - master - + paths: + - '!**' + - 'docs/**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -75,4 +77,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 \ No newline at end of file + uses: actions/deploy-pages@v2 From 34a03d691fe4886d51fd11d3efa7a948da391c71 Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Sun, 29 Oct 2023 20:22:12 -0500 Subject: [PATCH 2/2] Update hugo.yaml Signed-off-by: Lee Calcote --- .github/workflows/hugo.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yaml b/.github/workflows/hugo.yaml index 9c76c7cf..dd0fe595 100644 --- a/.github/workflows/hugo.yaml +++ b/.github/workflows/hugo.yaml @@ -7,8 +7,8 @@ on: branches: - master paths: - - '!**' - - 'docs/**' + - '!.github/**' + - '!archive/**' # Allows you to run this workflow manually from the Actions tab workflow_dispatch: