Skip to content

Commit

Permalink
[TM-1519] Enable a pattern to control which services are deployed in …
Browse files Browse the repository at this point in the history
…which envs.
  • Loading branch information
roguenet committed Dec 2, 2024
1 parent a842f21 commit dcf0ce8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,23 @@ 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
secrets: inherit

user-service:
uses: ./.github/workflows/deploy-service.yml
if: "${{ env.ENABLED_SERVICES }}" == "" || contains(env.SERVICES, 'user-service')
with:
env: ${{ inputs.env }}
service: user-service
secrets: inherit

research-service:
uses: ./.github/workflows/deploy-service.yml
if: "${{ env.ENABLED_SERVICES }}" == "" || contains(env.SERVICES, 'research-service')
with:
env: ${{ inputs.env }}
service: research-service
Expand Down

0 comments on commit dcf0ce8

Please sign in to comment.