feat(action): ✨ Use deploy action
This commit is contained in:
parent
84a4576935
commit
b1afc10922
1 changed files with 47 additions and 0 deletions
47
.forgejo/workflows/createaction.yaml
Normal file
47
.forgejo/workflows/createaction.yaml
Normal 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 }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue