From 35d76c0fefe41b5b7c127e5396c3c2365dbb23c6 Mon Sep 17 00:00:00 2001 From: Michael Zingale Date: Wed, 21 Aug 2024 13:39:30 -0400 Subject: [PATCH] fix the gh-pages action deploy should only happen on push to main --- .github/workflows/gh-pages.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 7aca873..d801bb1 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,6 +1,9 @@ name: github pages -on: push +on: + push: + branches: + - main jobs: deploy: