From dbbfb76689bb9d13c52c430471d26e232d00a741 Mon Sep 17 00:00:00 2001 From: Ian Candy Date: Wed, 6 Mar 2024 15:10:44 -0500 Subject: [PATCH 1/2] Update Deploy Workflow --- .github/workflows/nextjs.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index e91191f..ccdb8c8 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -5,13 +5,14 @@ name: Deploy Next.js site to Pages on: + pull_request: + types: [opened, reopened] # Runs on pushes targeting the default branch push: branches: ["main"] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - pull_request: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: From 00cb6cf67f15384bbb2cb9b5c2dac5d0764859ff Mon Sep 17 00:00:00 2001 From: Ian Candy Date: Wed, 6 Mar 2024 15:13:23 -0500 Subject: [PATCH 2/2] Revert changes to workflow --- .github/workflows/nextjs.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml index ccdb8c8..14f806b 100644 --- a/.github/workflows/nextjs.yml +++ b/.github/workflows/nextjs.yml @@ -5,8 +5,6 @@ name: Deploy Next.js site to Pages on: - pull_request: - types: [opened, reopened] # Runs on pushes targeting the default branch push: branches: ["main"]