-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdeploy-static-env-backend-only.yaml
More file actions
46 lines (42 loc) · 1.09 KB
/
deploy-static-env-backend-only.yaml
File metadata and controls
46 lines (42 loc) · 1.09 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
name: Deploy backend only
on:
workflow_dispatch:
inputs:
backend_account_group:
description: "Target backend account group"
type: choice
required: true
default: dev
options:
- dev
- nonprod
- 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
run-name: >-
Deploy backend=${{ inputs.backend_account_group }} 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:
backend_account_group: ${{ inputs.backend_account_group }}
source_type: ${{ inputs.source_type }}
source_value: ${{ inputs.source_value }}
deploy_backend: true
deploy_proxy: false