Skip to content

Commit

Permalink
cat config
Browse files Browse the repository at this point in the history
  • Loading branch information
gopuman committed Jul 13, 2023
1 parent fdb7cd1 commit 3405814
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,7 @@ inputs:
description: 'Uffizzi Server URL'
required: true
default: 'https://app.uffizzi.com'
project:
description: 'Uffizzi Project name'
required: true
default: 'default'

runs:
using: 'composite'
steps:
Expand All @@ -33,9 +30,6 @@ runs:
wget https://github.com/UffizziCloud/uffizzi_cli/releases/download/${{ inputs.release-tag }}/${{ inputs.binary-name }} --quiet
chmod +x ${{ inputs.binary-name }}
./${{ inputs.binary-name }} config set project ${{ inputs.project }}
cat ~/.config/uffizzi/config_default.json
OIDC_TOKEN=$(curl -sLS "${REQUEST_TOKEN_URL}&audience=uffizzi" -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $REQUEST_TOKEN")
./${{ inputs.binary-name }} login_by_identity_token --token "${OIDC_TOKEN}" --server "${UFFIZZI_SERVER}"
Expand Down

0 comments on commit 3405814

Please sign in to comment.