Skip to content

Commit

Permalink
jq raw output
Browse files Browse the repository at this point in the history
  • Loading branch information
KianNH committed Feb 3, 2025
1 parent 2c84929 commit 71f8f31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
PR=$(gh pr list --head ${{ github.ref_name }} --limit 1 --json number --jq '.[].number')
if [ -n "$PR" ]; then
URL=$(cat wrangler-logs.json | jq 'select(.type=="version-upload") | .preview_url')
URL=$(cat wrangler-logs.json | jq -r 'select(.type=="version-upload") | .preview_url')
if [ -n "$URL" ]; then
BODY="**Preview URL:** $URL"
Expand Down

0 comments on commit 71f8f31

Please sign in to comment.