Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function updateStack(
stack: Stack,
params: CreateChangeSetInput,
noEmptyChangeSet: boolean,
noExecuteChageSet: boolean,
noExecuteChangeSet: boolean,
noDeleteFailedChangeSet: boolean
): Promise<string | undefined> {
core.debug('Creating CloudFormation Change Set')
Expand All @@ -79,7 +79,7 @@ export async function updateStack(
)
}

if (noExecuteChageSet) {
if (noExecuteChangeSet) {
core.debug('Not executing the change set')
return stack.StackId
}
Expand Down Expand Up @@ -123,7 +123,7 @@ export async function deployStack(
cfn: aws.CloudFormation,
params: CreateStackInput,
noEmptyChangeSet: boolean,
noExecuteChageSet: boolean,
noExecuteChangeSet: boolean,
noDeleteFailedChangeSet: boolean
): Promise<string | undefined> {
const stack = await getStack(cfn, params.StackName)
Expand Down Expand Up @@ -158,7 +158,7 @@ export async function deployStack(
}
},
noEmptyChangeSet,
noExecuteChageSet,
noExecuteChangeSet,
noDeleteFailedChangeSet
)
}
Expand Down
4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export async function run(): Promise<void> {
const noEmptyChangeSet = !!+core.getInput('no-fail-on-empty-changeset', {
required: false
})
const noExecuteChageSet = !!+core.getInput('no-execute-changeset', {
const noExecuteChangeSet = !!+core.getInput('no-execute-changeset', {
required: false
})
const noDeleteFailedChangeSet = !!+core.getInput(
Expand Down Expand Up @@ -119,7 +119,7 @@ export async function run(): Promise<void> {
cfn,
params,
noEmptyChangeSet,
noExecuteChageSet,
noExecuteChangeSet,
noDeleteFailedChangeSet
)
core.setOutput('stack-id', stackId || 'UNKNOWN')
Expand Down