pull/44/head
Daniel Walsh 2 years ago
parent ef4ec517c9
commit dcaaa512d4
No known key found for this signature in database

@ -22129,11 +22129,9 @@ try {
});
};
const createJobSummary = async ({
project,
deployment,
aliasUrl
}) => {
console.log(deployment.stages);
const deployStage = deployment.stages.find((stage) => stage.name === "deploy");
let status = "\u26A1\uFE0F Deployment in progress...";
if (deployStage?.status === "success") {
@ -22173,7 +22171,7 @@ try {
alias = pagesDeployment.aliases[0];
}
(0, import_core.setOutput)("alias", alias);
await createJobSummary({ project, deployment: pagesDeployment, aliasUrl: alias });
await createJobSummary({ deployment: pagesDeployment, aliasUrl: alias });
if (gitHubDeployment) {
const octokit = (0, import_github.getOctokit)(gitHubToken);
await createGitHubDeploymentStatus({

@ -94,17 +94,14 @@ try {
const createJobSummary = async (
{
project,
deployment,
aliasUrl,
}:
{
project: Project;
deployment: Deployment;
aliasUrl: string;
}
) => {
console.log(deployment.stages);
const deployStage = deployment.stages.find((stage) => stage.name === 'deploy');
let status = '⚡️ Deployment in progress...';
@ -154,7 +151,7 @@ try {
}
setOutput("alias", alias);
await createJobSummary({ project, deployment: pagesDeployment, aliasUrl: alias });
await createJobSummary({ deployment: pagesDeployment, aliasUrl: alias });
if (gitHubDeployment) {
const octokit = getOctokit(gitHubToken);

Loading…
Cancel
Save