Skip to content

Commit

Permalink
fix: deploy helm
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Aug 14, 2024
1 parent c6a19e9 commit 7d51e7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit 7d51e7a

Please sign in to comment.