This commit is contained in:
Florian Herrengt 2022-12-05 23:37:09 +00:00
parent aceee6897a
commit 7102fbd479
1 changed files with 4 additions and 2 deletions

View File

@ -10,9 +10,11 @@ jobs:
- uses: actions/checkout@v3
- name: Download kubectl
run: curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
- name: chmod kubectl
run: chmod +x ./kubectl
- name: Setting up kubeconfig
run: echo "${{ secrets.KUBE_CONFIG }}" > kube.config
- name: Setup upterm session
uses: lhotari/action-upterm@v1
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
- name: Check if it works
run: ./kubectl --kubeconfig ./kube.config get nodes