Skip to content

Commit

Permalink
Fix variables and secret names
Browse files Browse the repository at this point in the history
Signed-off-by: steve lasker <stevenlasker@hotmail.com>
  • Loading branch information
SteveLasker committed Apr 20, 2024
1 parent 8c70a79 commit cdfd16b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}
Expand Down
6 changes: 3 additions & 3 deletions scitt-scripts/create-token.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion scitt-scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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}
Expand Down

0 comments on commit cdfd16b

Please sign in to comment.