Skip to content

Commit

Permalink
verbose in curl added
Browse files Browse the repository at this point in the history
  • Loading branch information
jwrobdolby committed Oct 28, 2024
1 parent 25a0eda commit ce89555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
sudo apt-get --only-upgrade install google-chrome-stable
npm install playwright
echo "check endpoint variable:"
echo ${MILLICAST_API_ENDPOINT}
echo $MILLICAST_API_ENDPOINT
NEW_TOKEN=$(./packages/millicast-sdk/integration-tests/ci/createToken.sh ${MILLICAST_API_ENDPOINT} ${MILLICAST_API_SECRET})
NEW_TOKEN=$(./packages/millicast-sdk/integration-tests/ci/createToken.sh $MILLICAST_API_ENDPOINT $MILLICAST_API_SECRET)
VITE_PUBLISH_TOKEN=$(echo $NEW_TOKEN | jq -r '.data.token')
VITE_STREAM_NAME=$(echo $NEW_TOKEN | jq -r '.data.streams[0].streamName')
NEW_TOKEN_ID=$(echo $NEW_TOKEN | jq -r '.data.id')
Expand Down
2 changes: 1 addition & 1 deletion packages/millicast-sdk/integration-tests/ci/createToken.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ STREAM_NAME=stream_$RANDOM_STR
API_URL=$1
BEARER=$2

curl --request POST --url $API_URL/publish_token \
curl -v --request POST --url $API_URL/publish_token \
--header 'accept: application/json' \
--header 'authorization: Bearer '$BEARER \
--header 'content-type: application/json' \
Expand Down

0 comments on commit ce89555

Please sign in to comment.