From 449003f7af50152b932ad51a97623a5baf86b2be Mon Sep 17 00:00:00 2001 From: GrantBirki Date: Fri, 1 Dec 2023 11:41:17 -0700 Subject: [PATCH] debugging workflow step --- .github/workflows/branch-deploy.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/branch-deploy.yml b/.github/workflows/branch-deploy.yml index df063d5ea..c314b95b8 100644 --- a/.github/workflows/branch-deploy.yml +++ b/.github/workflows/branch-deploy.yml @@ -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:]]*$//')