fix(pipeline): fuse two steps

This commit is contained in:
Christopher Hase 2025-08-14 10:31:22 +02:00
parent b3b6bf2da7
commit 0b59c41dbb

View file

@ -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"