Skip to content

Commit

Permalink
Update build-push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yybht155 authored Jun 7, 2024
1 parent aac7323 commit 35cba29
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,16 @@ jobs:
# version: 'v1.29.3'

- name: generate kubeconfig
uses: appleboy/kubernetes-action@master
uses: appleboy/kubernetes-action
with:
server: ${{ secrets.K8S_SERVER }}
ca_cert: ${{ secrets.K8S_CA_CERT }}
token: ${{ secrets.K8S_TOKEN }}
output: kubeconfig.yaml

- name: get pods in github-action namespace
env:
KUBECONFIG: kubeconfig.yaml
run: |
sudo chmod 644 kubeconfig.yaml
kubectl get pods -n sqhd-dify-test

0 comments on commit 35cba29

Please sign in to comment.