Skip to content

Commit ea40b0b

Browse files
committed
ci: fix deploy
1 parent f17e6c1 commit ea40b0b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ jobs:
103103
- name: Download kubectl
104104
if: steps.kubectl.outputs.files_exists != 'true'
105105
run: |
106-
wget -O /usr/local/bin/kubectl "https://dl.k8s.io/release/${{ env.KUBECTL_VER }}/bin/linux/amd64/kubectl"
107-
chmod +x /usr/local/bin/kubectl
106+
wget -O /tmp/kubectl "https://dl.k8s.io/release/${{ env.KUBECTL_VERSION }}/bin/linux/amd64/kubectl"
107+
chmod +x /tmp/kubectl
108108
109109
- name: Setup kubeconfig
110110
env:
@@ -113,5 +113,5 @@ jobs:
113113

114114
- name: Deploy
115115
run: |
116-
kubectl apply -f .k8s/deployment.release.yml
117-
kubectl -n ${{ env.K8S_NS }} rollout status deployment/gh-archived --timeout=1m
116+
/tmp/kubectl apply -f .k8s/deployment.release.yml
117+
/tmp/kubectl -n ${{ env.K8S_NS }} rollout status deployment/gh-archived --timeout=1m

0 commit comments

Comments
 (0)