Skip to content

Commit

Permalink
removing line returns
Browse files Browse the repository at this point in the history
  • Loading branch information
elrayle committed Apr 11, 2024
1 parent 1bd00a1 commit 17b44e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
- name: Check secrets
run: |
AZURE_CREDENTIALS="${{ secrets.AZURE_CREDENTIALS }}"
len=${#AZURE_CREDENTIALS} | wc -m
# echo "length of creds: ${len_AZURE_CREDENTIALS}"
AZURE_CREDENTIALS_SINGLE_LINE=$(echo -n "$AZURE_CREDENTIALS" | tr -d '\n')
len=${#AZURE_CREDENTIALS_SINGLE_LINE}
echo "length of creds: ${len}"
if [[ ${len} -le 0 ]]; then
echo "AZURE_CREDENTIALS is not set"
Expand Down

0 comments on commit 17b44e8

Please sign in to comment.