-
Notifications
You must be signed in to change notification settings - Fork 0
46 lines (39 loc) · 1.1 KB
/
deploy-services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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') }}
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