From dcf0ce82471e061ae5eba69914b6fe1c2f8a7298 Mon Sep 17 00:00:00 2001 From: Nathan Curtis Date: Mon, 2 Dec 2024 13:44:20 -0800 Subject: [PATCH] [TM-1519] Enable a pattern to control which services are deployed in which envs. --- .github/workflows/deploy-services.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/deploy-services.yml b/.github/workflows/deploy-services.yml index 5844f4d..fb56d7e 100644 --- a/.github/workflows/deploy-services.yml +++ b/.github/workflows/deploy-services.yml @@ -21,6 +21,7 @@ permissions: jobs: job-service: uses: ./.github/workflows/deploy-service.yml + if: "${{ env.ENABLED_SERVICES }}" == "" || contains(env.SERVICES, 'job-service') with: env: ${{ inputs.env }} service: job-service @@ -28,6 +29,7 @@ jobs: user-service: uses: ./.github/workflows/deploy-service.yml + if: "${{ env.ENABLED_SERVICES }}" == "" || contains(env.SERVICES, 'user-service') with: env: ${{ inputs.env }} service: user-service @@ -35,6 +37,7 @@ jobs: research-service: uses: ./.github/workflows/deploy-service.yml + if: "${{ env.ENABLED_SERVICES }}" == "" || contains(env.SERVICES, 'research-service') with: env: ${{ inputs.env }} service: research-service