feat(action): Use deploy action

This commit is contained in:
Daniel Sy 2025-09-23 15:17:09 +02:00
parent 84a4576935
commit b1afc10922
Signed by: Daniel.Sy
GPG key ID: 1F39A8BBCD2EE3D3

View file

@ -0,0 +1,47 @@
name: createapp
on:
workflow_dispatch:
inputs:
a_app_region:
type: string
description: "Application Region e.g. EU"
default: EU
required: true
b_app_flavor:
type: string
description: "Application Flavor e.g. EU.small"
default: EU.small
required: true
c_cloudlet:
type: choice
options:
- Amsterdam-OTC
- Hamburg
- Leipzig
- Munich
- Berlin
- Frankfurt
- Magdeburg-OTC
- Bonn
- Magdeburg
- crm-vm-2
description: "Cloudlet location"
default: Munich
required: true
jobs:
build:
runs-on: ubuntu-22.04
steps:
-
name: Deploy action
uses: edp.buildth.ing/deploy
id: deploy
with:
region: ${{ inputs.a_app_region }}
flavor: ${{ inputs.b_app_flavor }}
cloudlet: ${{ inputs.c_cloudlet }}
edgexr_platform_username: ${{ secrets.EDGEXR_PLATFORM_USERNAME }}
edgexr_platform_password: ${{ secrets.EDGEXR_PLATFORM_PASSWORD }}