From 2ea4b5da202879a7f9490962c8594d0ffc170566 Mon Sep 17 00:00:00 2001 From: Hunter Johnston Date: Sat, 6 Jan 2024 21:50:17 -0500 Subject: [PATCH] another --- index.js | 7 +++---- src/index.ts | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/index.js b/index.js index 35bfac1..6e9f201 100644 --- a/index.js +++ b/index.js @@ -22107,10 +22107,9 @@ try { }; const githubBranch = import_process.env.GITHUB_HEAD_REF || import_process.env.GITHUB_REF_NAME; const createGitHubDeployment = async (octokit, productionEnvironment, environment) => { - console.log("creating github deployment"); - console.log("context repo owner", import_github.context.repo.owner); - console.log("context repo repo", import_github.context.repo.repo); - console.log("context sha", import_github.context.sha); + console.log("--------"); + console.log("github context", JSON.stringify(import_github.context, null, 2)); + console.log("--------"); const deployment = await octokit.rest.repos.createDeployment({ owner: import_github.context.repo.owner, repo: import_github.context.repo.repo, diff --git a/src/index.ts b/src/index.ts index 4903c73..95ea1a5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -63,10 +63,9 @@ try { const githubBranch = env.GITHUB_HEAD_REF || env.GITHUB_REF_NAME; const createGitHubDeployment = async (octokit: Octokit, productionEnvironment: boolean, environment: string) => { - console.log("creating github deployment"); - console.log("context repo owner", context.repo.owner); - console.log("context repo repo", context.repo.repo); - console.log("context sha", context.sha); + console.log("--------"); + console.log("github context", JSON.stringify(context, null, 2)); + console.log("--------"); const deployment = await octokit.rest.repos.createDeployment({ owner: context.repo.owner, repo: context.repo.repo,