-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeploy-static-env-proxy-only.yaml
More file actions
52 lines (48 loc) · 1.26 KB
/
deploy-static-env-proxy-only.yaml
File metadata and controls
52 lines (48 loc) · 1.26 KB
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
49
50
51
52
name: Deploy proxy only
on:
workflow_dispatch:
inputs:
apim_environment:
description: "Target APIM environment"
type: choice
required: true
default: internal-dev
options:
- internal-dev
- int
- prod
source_type:
description: "Deployment source type"
type: choice
required: true
default: release
options:
- release
- branch
source_value:
description: "Release tag or branch name"
type: string
required: true
build_sandbox:
description: "Build sandbox container"
type: boolean
required: false
default: false
run-name: >-
Deploy proxy apim=${{ inputs.apim_environment }} source=${{ inputs.source_type
}}:${{ inputs.source_value }} by @${{ github.actor }}
permissions:
id-token: write
contents: read
packages: read
jobs:
deploy:
uses: ./.github/workflows/deploy-supplier-api.yaml
secrets: inherit
with:
apim_environment: ${{ inputs.apim_environment }}
source_type: ${{ inputs.source_type }}
source_value: ${{ inputs.source_value }}
deploy_backend: false
deploy_proxy: true
build_sandbox: ${{ inputs.build_sandbox }}