Skip to content

Commit

Permalink
debugging workflow step
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantBirki committed Dec 1, 2023
1 parent fffdf4a commit 449003f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/branch-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,11 @@ jobs:
env:
WRANGLER_COMMAND_PATH: ${{ steps.dev-deploy.outputs.wranglerCommandOutputFile }}
run: |
echo $WRANGLER_COMMAND_PATH
cat $WRANGLER_COMMAND_PATH
cat $WRANGLER_COMMAND_PATH | jq -r '.stdout'
dev_url=$(cat $WRANGLER_COMMAND_PATH | jq -r '.stdout')
dev_url=$(echo $dev_url | grep 'Deployment complete! Take a peek over at' | awk '{print $NF}')
dev_url=$(echo $dev_url | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//')
Expand Down

0 comments on commit 449003f

Please sign in to comment.