From 0b59c41dbba950f3b7adb64e6832cfbe04d60b84 Mon Sep 17 00:00:00 2001 From: Christopher Hase Date: Thu, 14 Aug 2025 10:31:22 +0200 Subject: [PATCH] fix(pipeline): fuse two steps --- .forgejo/workflows/createapp.yaml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.forgejo/workflows/createapp.yaml b/.forgejo/workflows/createapp.yaml index f146d25..96749cf 100644 --- a/.forgejo/workflows/createapp.yaml +++ b/.forgejo/workflows/createapp.yaml @@ -35,10 +35,7 @@ jobs: sudo apt update sudo apt install -y curl jq - - name: Login Into edgeXR + name: Create edgeXR App run: | EDGEXR_TOKEN="$(curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/login -H 'Content-Type: application/json' --data '{"password": "'${EDGEXR_PLATFORM_PASSWORD}'","username": "'${EDGEXR_PLATFORM_USERNAME}'"}' -s | jq -r .token)" - - - name: Create App - run: | curl -X POST https://hub.apps.edge.platform.mg3.mdb.osc.live/api/v1/auth/org/show -H "Authorization: Bearer $EDGEXR_TOKEN" \ No newline at end of file