Skip to content

Commit 5fc0329

Browse files
author
italolelis
committed
Replace _ to -
1 parent 268dbf3 commit 5fc0329

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ payload if the action was triggered by a deployment.
3434
- `version`: Version of the app, usually commit sha works here.
3535
- `timeout`: specify a timeout for helm deployment
3636
- `repo`: Helm chart repository to be added.
37-
- `repo_alias`: Helm repository alias that will be used.
38-
- `repo_username`: Helm repository username if authentication is needed.
39-
- `repo_password`: Helm repository password if authentication is needed.
37+
- `repo-alias`: Helm repository alias that will be used.
38+
- `repo-username`: Helm repository username if authentication is needed.
39+
- `repo-password`: Helm repository password if authentication is needed.
4040

4141
Additional parameters: If the action is being triggered by a deployment event
4242
and the `task` parameter in the deployment event is set to `"remove"` then this
@@ -178,9 +178,9 @@ jobs:
178178
chart: 'chartmuseum/app'
179179
token: '${{ github.token }}'
180180
repo: 'http://chartmuseum.example.com'
181-
repo_alias: chartmuseum
182-
repo_username: ${{ secrets.CHARTMUSEUM_USERNAME }}
183-
repo_password: ${{ secrets.CHARTMUSEUM_PASSWORD }}
181+
repo-alias: chartmuseum
182+
repo-username: ${{ secrets.CHARTMUSEUM_USERNAME }}
183+
repo-password: ${{ secrets.CHARTMUSEUM_PASSWORD }}
184184
env:
185185
KUBECONFIG_FILE: '${{ secrets.KUBECONFIG }}'
186186
```

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ inputs:
4040
repo:
4141
description: Helm chart repository to be added.
4242
required: false
43-
repo_alias:
43+
repo-alias:
4444
description: Helm repository alias that will be used.
4545
required: false
46-
repo_username:
46+
repo-username:
4747
description: Helm repository username if authentication is needed.
4848
required: false
49-
repo_password:
49+
repo-password:
5050
description: Helm repository password if authentication is needed.
5151
required: false
5252
runs:

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ async function run() {
166166
const helm = getInput("helm") || "helm";
167167
const timeout = getInput("timeout");
168168
const repo = getInput("repo");
169-
const repoAlias = getInput("repo_alias");
170-
const repoUsername = getInput("repo_username");
171-
const repoPassword = getInput("repo_password");
169+
const repoAlias = getInput("repo-alias");
170+
const repoUsername = getInput("repo-username");
171+
const repoPassword = getInput("repo-password");
172172

173173
const dryRun = core.getInput("dry-run");
174174
const secrets = getSecrets(core.getInput("secrets"));

0 commit comments

Comments
 (0)