Skip to content

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

Services Deploy (all) [env: test]

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

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:
test1:
runs-on: ubuntu-latest
if: vars.ENABLED_SERVICES == ''
steps:
- run: |
echo "services empty"
test2:
runs-on: ubuntu-latest
if: vars.ENABLED_SERBICES != ''
steps:
- run: |
echo "services: ${{ vars.ENABLED_SERVICES }}"
#jobs:
# job-service:
# if: ${{ vars.ENABLED_SERVICES == '' || contains(vars.ENABLED_SERVICES, 'job-service') }}
# uses: ./.github/workflows/deploy-service.yml
# with:
# env: ${{ inputs.env }}
# service: job-service
# secrets: inherit
#
#
# user-service:
# if: ${{ vars.ENABLED_SERVICES == '' || contains(vars.ENABLED_SERVICES, 'user-service') }}
# uses: ./.github/workflows/deploy-service.yml
# with:
# env: ${{ inputs.env }}
# service: user-service
# secrets: inherit
#
# research-service:
# if: ${{ vars.ENABLED_SERVICES == '' || contains(env.ENABLED_SERVICES, 'research-service') }}
# uses: ./.github/workflows/deploy-service.yml
# with:
# env: ${{ inputs.env }}
# service: research-service
# secrets: inherit
#
#