normalize paths
This commit is contained in:
@@ -15,10 +15,10 @@ inputs:
|
||||
required: true
|
||||
CHART_PATH:
|
||||
description: "Path to the Helm chart"
|
||||
default: "."
|
||||
default: "./helm"
|
||||
VALUES_FILE:
|
||||
description: "Path to a values file (optional)"
|
||||
default: ""
|
||||
description: "The values file to use"
|
||||
default: "./helm/values.yaml"
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
@@ -34,10 +34,8 @@ runs:
|
||||
shell: sh
|
||||
run: |
|
||||
helm dependency update ${{ inputs.CHART_PATH }}
|
||||
VALUES_FLAG=""
|
||||
if [ -n "${{ inputs.VALUES_FILE }}" ]; then VALUES_FLAG="--values ${{ inputs.VALUES_FILE }}"; fi
|
||||
echo "Running: helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} $VALUES_FLAG"
|
||||
helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} $VALUES_FLAG
|
||||
echo "Running: helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} --values ${{ inputs.VALUES_FILE }}"
|
||||
helm upgrade ${{ inputs.DEPLOYMENT_NAME }} ${{ inputs.CHART_PATH }} -n ${{ inputs.DEPLOYMENT_NAME }} --values ${{ inputs.VALUES_FILE }}
|
||||
|
||||
- name: Remove kubeconfig
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user