Skip to content

Commit a5aaddb

Browse files
committed
github: update workflows for alpha and develop environment
1 parent 3d80209 commit a5aaddb

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy_oko_apps.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
inputs:
1313
git_tag:
1414
description: >
15-
"Git tag (format: <app>/develop/v0.0.1 or <app>/release/v0.0.1).
15+
"Git tag (format: <app>/alpha/v0.0.1, <app>/develop/v0.0.1, or <app>/release/v0.0.1).
1616
Apps: demo_web, user_dashboard, ct_dashboard, admin_web, docs_web, attached_mobile_host_web"
1717
required: true
1818
type: string
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-22.04
2323
timeout-minutes: 60
2424
environment:
25-
name: ${{ contains(inputs.git_tag, '/release/') && 'Production' || 'Preview' }}
25+
name: ${{ contains(inputs.git_tag, '/release/') && 'Production' || contains(inputs.git_tag, '/alpha/') && 'Alpha' || 'Develop' }}
2626
steps:
2727
- name: Checkout self repository
2828
uses: actions/checkout@v4

.github/workflows/deploy_oko_attached.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
inputs:
88
git_tag:
99
description: >
10-
"Git tag (format: attached/develop/v0.0.1 or attached/release/v0.0.1)"
10+
"Git tag (format: attached/alpha/v0.0.1, attached/develop/v0.0.1, or attached/release/v0.0.1)"
1111
required: true
1212
type: string
1313

@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-22.04
1717
timeout-minutes: 60
1818
environment:
19-
name: ${{ contains(inputs.git_tag, '/release/') && 'Production' || 'Preview' }}
19+
name: ${{ contains(inputs.git_tag, '/release/') && 'Production' || contains(inputs.git_tag, '/alpha/') && 'Alpha' || 'Develop' }}
2020
steps:
2121
- name: Checkout self repository
2222
uses: actions/checkout@v4

0 commit comments

Comments
 (0)