Skip to content

Commit cab0647

Browse files
SRTP-765-implement-api-send-gpd-message
1 parent a7439b5 commit cab0647

File tree

1 file changed

+25
-4
lines changed

1 file changed

+25
-4
lines changed
Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,34 @@
1-
name: Test Workflow Trigger
1+
name: Deploy on AKS
22

33
on:
44
push:
55
branches:
66
- '**'
77
workflow_dispatch:
8+
inputs:
9+
environment:
10+
required: true
11+
type: string
12+
default: dev
13+
description: env
14+
15+
env:
16+
NAMESPACE: afm
17+
APP_NAME: rtp-platform-qa
18+
19+
permissions:
20+
id-token: write
21+
contents: read
822

923
jobs:
10-
test:
11-
runs-on: [ self-hosted-job, "dev" ]
24+
deploy:
25+
runs-on: [ self-hosted, self-hosted-job, "${{ github.event.inputs.environment || 'dev' }}" ]
26+
environment: ${{ github.event.inputs.environment || 'dev' }}
1227
steps:
13-
- uses: actions/checkout@v4
28+
- uses: actions/checkout@v4
29+
30+
- name: Check runner environment
31+
run: |
32+
echo "🏃 Running on environment: ${{ github.event.inputs.environment || 'dev' }}"
33+
echo "📦 Namespace: ${{ env.NAMESPACE }}"
34+
echo "📦 App: ${{ env.APP_NAME }}"

0 commit comments

Comments
 (0)