Skip to content

Services Deploy (all) [env: test] #16

Services Deploy (all) [env: test]

Services Deploy (all) [env: test] #16

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:
uses: ./.github/workflows/deploy-service.yml
if: env.ENABLED_SERVICES == null || contains(env.ENABLED_SERVICES, 'job-service')

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

View workflow run for this annotation

GitHub Actions / Services Deploy (all)

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-services.yml (Line: 24, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ENABLED_SERVICES == null || contains(env.ENABLED_SERVICES, 'job-service') .github/workflows/deploy-services.yml (Line: 32, Col: 9): Unrecognized named-value: 'env'. Located at position 1 within expression: env.ENABLED_SERVICES == null || contains(env.ENABLED_SERVICES, 'user-service')
with:
env: ${{ inputs.env }}
service: job-service
secrets: inherit
user-service:
uses: ./.github/workflows/deploy-service.yml
if: env.ENABLED_SERVICES == null || contains(env.ENABLED_SERVICES, 'user-service')
with:
env: ${{ inputs.env }}
service: user-service
secrets: inherit
research-service:
uses: ./.github/workflows/deploy-service.yml
if: env.ENABLED_SERVICES == null || contains(env.ENABLED_SERVICES, 'research-service')
with:
env: ${{ inputs.env }}
service: research-service
secrets: inherit