Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
patcher9 committed Mar 14, 2024
1 parent 5e13204 commit 66710a7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 66710a7

Please sign in to comment.