-
Notifications
You must be signed in to change notification settings - Fork 4
48 lines (46 loc) · 1.57 KB
/
manual-deploy.yaml
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
45
46
47
48
name: Manual Deploy
on:
workflow_dispatch:
inputs:
environment:
description: Environment
type: choice
options:
- dev
- staging
- prod
deploy-ingestion:
description: Deploy Ingestion
default: false
type: boolean
deploy-rail-pm:
description: Deploy Rail Performance Manager
default: false
type: boolean
deploy-bus-pm:
description: Deploy Bus Performance Manager
default: false
type: boolean
deploy-tm-ingestion:
description: Deploy TransitMaster Ingestion (not run on Dev)
default: false
type: boolean
deploy-tableau-publisher:
description: Deploy Tableau Publisher (not run on Dev)
default: false
type: boolean
jobs:
deploy:
concurrency:
group: github.event.inputs.environment
uses: ./.github/workflows/deploy-base.yaml
with:
# pass the inputs from the workflow dispatch through to the deploy base. the booleans are
# converted to strings, so flip them back using fromJson function
environment: ${{ github.event.inputs.environment }}
deploy-ingestion: ${{ fromJson(github.event.inputs.deploy-ingestion) }}
deploy-rail-pm: ${{ fromJson(github.event.inputs.deploy-rail-pm) }}
deploy-bus-pm: ${{ fromJson(github.event.inputs.deploy-bus-pm) }}
deploy-tm-ingestion: ${{ fromJson(github.event.inputs.deploy-tm-ingestion) }}
deploy-tableau-publisher: ${{ fromJson(github.event.inputs.deploy-tableau-publisher) }}
secrets: inherit