Skip to content

[TM-1519] Enable a pattern to control which services are deployed in … #15

[TM-1519] Enable a pattern to control which services are deployed in …

[TM-1519] Enable a pattern to control which services are deployed in … #15

Workflow file for this run

name: Services Deploy (all)
run-name: 'Services Deploy (all) [env: ${{ inputs.env }}]'
on:
workflow_dispatch:
inputs:
env:
description: 'Deployment target environment'
type: choice
required: true
options:
- dev
- test
- staging
- prod
permissions:
id-token: write
contents: read
jobs:
job-service:

Check failure on line 22 in .github/workflows/deploy-services.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-services.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
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
secrets: inherit