From cdfd16b6518107b70c7f72b2ba7595131183d867 Mon Sep 17 00:00:00 2001 From: steve lasker Date: Fri, 19 Apr 2024 17:06:11 -0700 Subject: [PATCH] Fix variables and secret names Signed-off-by: steve lasker --- action.yml | 4 ++-- scitt-scripts/create-token.sh | 6 +++--- scitt-scripts/entrypoint.sh | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 2eb3730..5b8d8c4 100644 --- a/action.yml +++ b/action.yml @@ -4,7 +4,7 @@ inputs: datatrails-client_id: description: 'The CLIENT_ID used to access the DataTrails SCITT APIs' required: true - datatrails-scitt-secret: + datatrails-secret: description: 'The SECRET used to access the DataTrails SCITT APIs' required: true subject: @@ -38,7 +38,7 @@ runs: image: 'Dockerfile' args: - ${{ inputs.datatrails-client_id }} - - ${{ inputs.datatrails-scitt-secret }} + - ${{ inputs.datatrails-secret }} - ${{ inputs.subject }} - ${{ inputs.payload }} - ${{ inputs.content-type }} diff --git a/scitt-scripts/create-token.sh b/scitt-scripts/create-token.sh index f6d6cb3..30706a5 100755 --- a/scitt-scripts/create-token.sh +++ b/scitt-scripts/create-token.sh @@ -1,8 +1,8 @@ #!/bin/bash -l -# echo "scitt-client_id: " ${1} -# echo "scitt-scitt-secret: " ${2} -# echo "token-file: " ${3} +# echo "datatrails-client_id: " ${1} +# echo "datatrails-secret: " ${2} +# echo "token-file: " ${3} if [ -z "$3" ]; then TOKEN_FILE=$HOME/.datatrails/bearer-token.txt diff --git a/scitt-scripts/entrypoint.sh b/scitt-scripts/entrypoint.sh index ddb5440..c7aa5c8 100755 --- a/scitt-scripts/entrypoint.sh +++ b/scitt-scripts/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash -l # echo "datatrails-client_id: " ${1} -# echo "datatrails-scitt-secret: " ${2} +# echo "datatrails-secret: " ${2} # echo "subject: " ${3} # echo "payload: " ${4} # echo "content-type: " ${5}