From 66710a7a16aff13ef0e4efe82c64af0aa91ea003 Mon Sep 17 00:00:00 2001 From: patcher99 Date: Thu, 14 Mar 2024 21:56:25 +0530 Subject: [PATCH] update test --- .github/workflows/tests.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 79a913b..501d6dc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,11 +37,10 @@ jobs: - name: Make API Request and Set DOKU_TOKEN run: | - RESPONSE=$(curl --request POST \ - --url https://127.0.0.1:9044/api/keys \ - --header 'Authorization: ""' \ - --header 'Content-Type: application/json' \ - --data '{"name": "GITHUB"}' ) + RESPONSE=$(curl -X POST $DOKU_URL/api/keys \ + -H 'Authorization: ""' \ + -H 'Content-Type: application/json' \ + -d '{"Name": "GITHUBACTION"}') MESSAGE=$(echo $RESPONSE | jq -r '.message') echo "DOKU_TOKEN=${MESSAGE}" >> $GITHUB_ENV