|
|
|
@ -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,
|
|
|
|
|