Skip to content

Commit

Permalink
chore: tbs
Browse files Browse the repository at this point in the history
  • Loading branch information
dmaklygin committed Jul 12, 2023
1 parent 3d5f302 commit 7486544
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/test-jira-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,15 @@ jobs:
"client_id": "'${CLIENT_ID}'",
"client_secret": "'${CLIENT_SECRET}'",
"audience": "api.atlassian.com"
}' | \
jq --raw-output '.access_token'
}'
)
# | \
# jq --raw-output '.access_token'
echo "$ACCESS_TOKEN"
# Check if ACCESS_TOKEN is empty
if [ -n "$ACCESS_TOKEN" ]; then
if [ -z "$ACCESS_TOKEN" ]; then
echo "Error: ACCESS_TOKEN is empty or null"
exit 1
fi
Expand Down

0 comments on commit 7486544

Please sign in to comment.