Skip to content

Commit

Permalink
chore: updated context input to required false
Browse files Browse the repository at this point in the history
  • Loading branch information
mehdi-ra committed Jul 24, 2023
1 parent 36d16a0 commit 8e8513d
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 76 deletions.
104 changes: 33 additions & 71 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ async function run(): Promise<void> {
const valuesPath = core.getInput('valuesPath')
const releaseName = core.getInput('releaseName')
const namespace = core.getInput('namespace')
const context = core.getInput('context', {required: false})
const context = core.getInput('context')
const token = core.getInput('token', {required: true})
const kubeConfig = core.getInput('kubeConfig', {required: true})

execSync(`cat ${valuesPath}`, {stdio: 'inherit', cwd: repositoryDirectory})

await installKubectl()
await setupKubectlConfig(kubeConfig)

await installHelm()
await deployHelmChart(releaseName, genericChart, namespace)

Expand Down

0 comments on commit 8e8513d

Please sign in to comment.