diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index eabe283702f0..5526813ea2c6 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -26,7 +26,7 @@ jobs: uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1 with: script: | - console.log(context); + console.dir(context, { depth: null }); let pr; let workflowRun; @@ -74,7 +74,7 @@ jobs: } console.log(`Found PR ${pr.html_url}`); - console.log(pr); + console.dir(pr, { depth: null }); if (pr.state !== "open") { console.log(`PR ${pr.number} is not open`); @@ -106,16 +106,16 @@ jobs: return null; } - console.log(`Found workflow run ${workflowRun.html_url}`) - console.log(workflowRun) + console.log(`Found workflow run ${workflowRun.html_url}`); + console.dir(workflowRun, { depth: null }); try { const artifacts = await github.rest.actions.listWorkflowRunArtifacts({ owner: "microsoft", repo: "TypeScript-Website", run_id: 9164276500, - }) - console.log(artifacts); + }); + console.dir(artifacts, { depth: null }); if (!artifacts.data.artifacts.some(x => x.name === "site")) { console.log("No artifact found in workflow run"); return null;