From cb3c5bebf34e789ff9f4d2d0a3a4503fbedd3d3f Mon Sep 17 00:00:00 2001 From: Jahir <124062934+juddin927@users.noreply.github.com> Date: Mon, 1 Jul 2024 15:54:45 +0100 Subject: [PATCH] Update deployment.yml (#274) Changing enabled parameter to be populated from the environmental variable as opposed to hardcoded FALSE --- .github/workflows/deployment.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 8cd6d4b..9217593 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -18,7 +18,7 @@ jobs: uses: ./.github/workflows/deployment_reusable_workflow.yml with: ENV: development - ENABLED: false + ENABLED: ${{ github.development.enabled }} secrets: inherit deploy-pre-production: @@ -26,7 +26,7 @@ jobs: uses: ./.github/workflows/deployment_reusable_workflow.yml with: ENV: pre-production - ENABLED: false + ENABLED: ${{ github.pre-production.enabled }} secrets: inherit # destroy-development: