fix(pipeline): fuse two steps
This commit is contained in:
parent
b3b6bf2da7
commit
0b59c41dbb
1 changed files with 1 additions and 4 deletions
|
|
@ -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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue