From b1afc109229058bf349ca7f8cff98b242dd7e8c3 Mon Sep 17 00:00:00 2001 From: Daniel Sy Date: Tue, 23 Sep 2025 15:17:09 +0200 Subject: [PATCH] =?UTF-8?q?feat(action):=20=E2=9C=A8=20Use=20deploy=20acti?= =?UTF-8?q?on?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .forgejo/workflows/createaction.yaml | 47 ++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 .forgejo/workflows/createaction.yaml diff --git a/.forgejo/workflows/createaction.yaml b/.forgejo/workflows/createaction.yaml new file mode 100644 index 0000000..6033729 --- /dev/null +++ b/.forgejo/workflows/createaction.yaml @@ -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 }}