Skip to content
Snippets Groups Projects
Commit 7d51e7a6 authored by Xiao Gui's avatar Xiao Gui
Browse files

fix: deploy helm

parent c6a19e95
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ jobs:
kubecfg_path=${{ runner.temp }}/.kube_config
echo "${{ secrets.KUBECONFIG }}" > $kubecfg_path
helm ls | awk '{print $1}' | grep -q ${{ inputs.DEPLOYMENT_NAME }} \
helm --kubeconfig=$kubecfg_path ls | awk '{print $1}' | grep -q ${{ inputs.DEPLOYMENT_NAME }} \
&& helm --kubeconfig=$kubecfg_path \
upgrade \
--history-max 3 \
......@@ -57,7 +57,7 @@ jobs:
kubecfg_path=${{ runner.temp }}/.kube_config
echo "${{ secrets.KUBECONFIG }}" > $kubecfg_path
helm ls | awk '{print $1}' | grep -q ${{ inputs.DEPLOYMENT_NAME }} \
helm --kubeconfig=$kubecfg_path ls | awk '{print $1}' | grep -q ${{ inputs.DEPLOYMENT_NAME }} \
&& helm --kubeconfig=$kubecfg_path \
upgrade \
--history-max 3 \
......@@ -84,7 +84,7 @@ jobs:
kubecfg_path=${{ runner.temp }}/.kube_config
echo "${{ secrets.KUBECONFIG }}" > $kubecfg_path
helm ls | awk '{print $1}' | grep -q ${{ inputs.DEPLOYMENT_NAME }} \
helm --kubeconfig=$kubecfg_path ls | awk '{print $1}' | grep -q ${{ inputs.DEPLOYMENT_NAME }} \
&& helm --kubeconfig=$kubecfg_path \
upgrade \
--history-max 3 \
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment