From 1c6c8b2b7a26f4ec784277e28d07ca926bb18aae Mon Sep 17 00:00:00 2001 From: Ravencodess <115118888+Ravencodess@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:58:14 +0100 Subject: [PATCH 1/2] Update staging-deployment.yml Signed-off-by: Ravencodess <115118888+Ravencodess@users.noreply.github.com> --- .github/workflows/staging-deployment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/staging-deployment.yml b/.github/workflows/staging-deployment.yml index ea82c2617..481e00222 100644 --- a/.github/workflows/staging-deployment.yml +++ b/.github/workflows/staging-deployment.yml @@ -35,6 +35,7 @@ jobs: tags: hngdevops/nextjs-boilerplate:staging deploy_to_staging: + needs: build_and_push if: github.event.repository.fork == false runs-on: ubuntu-latest From 99609eb20e1bc310a34b628f817f9aa4561d8e1d Mon Sep 17 00:00:00 2001 From: Ravencodess <115118888+Ravencodess@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:58:59 +0100 Subject: [PATCH 2/2] Update production-deployment.yml Signed-off-by: Ravencodess <115118888+Ravencodess@users.noreply.github.com> --- .github/workflows/production-deployment.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/production-deployment.yml b/.github/workflows/production-deployment.yml index 8d29eb5e6..8531be876 100644 --- a/.github/workflows/production-deployment.yml +++ b/.github/workflows/production-deployment.yml @@ -35,6 +35,7 @@ jobs: tags: hngdevops/nextjs-boilerplate:prod deploy_to_production: + needs: build_and_push if: github.event.repository.fork == false runs-on: ubuntu-latest