Skip to content

Commit

Permalink
chore: removed characters with sed
Browse files Browse the repository at this point in the history
  • Loading branch information
gentlementlegen committed Apr 1, 2024
1 parent 4e8f00d commit 0c25563
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ jobs:

- name: Generate Claimable Permit
id: permit_generation
# The sed command is used to remove color characters that are present in the output of the script
run: |
yarn
output=$(yarn "start:sign")
url=$(echo $output | grep -o "https://[^ ]*" | sed -n '2p' | tr -d '\r\n')
url=$(echo $output | grep -o "https://[^ ]*" | sed -n '2p' | sed 's/\x1B\[[0-9;]*[JKmsu]//g')
echo $output
echo "Permit available at the address:"
echo $url
Expand Down

0 comments on commit 0c25563

Please sign in to comment.