From 1c6f66938748a9a211692728b8d15710bc621603 Mon Sep 17 00:00:00 2001 From: burtonk <117617405+k-burt-uch@users.noreply.github.com> Date: Thu, 29 Aug 2024 09:16:39 -0500 Subject: [PATCH] Run GH action on PR instead of push --- .github/workflows/hugo_ci.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo_ci.yaml b/.github/workflows/hugo_ci.yaml index dfede486..88c75d46 100644 --- a/.github/workflows/hugo_ci.yaml +++ b/.github/workflows/hugo_ci.yaml @@ -1,6 +1,10 @@ name: Hugo Build and Deploy -on: push +on: + pull_request: + types: [opened, reopened, closed] + branches: + - 'master' env: BASE_URL: ${{ (github.ref == 'refs/heads/master' && 'gen3.org') || 'alpha.gen3.org' }}