Skip to content

Commit b00ab86

Browse files
authored
Revert "Allow finish step to update environment name (#146)" (#148)
This reverts commit 9bf3b18.
1 parent 9bf3b18 commit b00ab86

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/steps/finish.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ export type FinishArgs = {
88
override: boolean;
99
status: string;
1010
envURL?: string;
11-
environment?: string;
1211
autoInactive: boolean;
1312
};
1413

@@ -19,7 +18,7 @@ async function createFinish(
1918
) {
2019
const {
2120
log,
22-
coreArgs: { description, logsURL, environment },
21+
coreArgs: { description, logsURL },
2322
} = context;
2423
if (stepArgs.override) {
2524
await deactivateEnvironment(github, context);
@@ -55,7 +54,6 @@ async function createFinish(
5554
state: newStatus,
5655
description: description,
5756
ref: context.ref,
58-
environment: environment,
5957

6058
// only set environment_url if deployment worked
6159
environment_url: newStatus === "success" ? stepArgs.envURL : "",

0 commit comments

Comments
 (0)