This commit is contained in:
Florian Herrengt 2022-12-05 23:32:55 +00:00
parent 5c2534be5c
commit 8694068e1a
1 changed files with 2 additions and 2 deletions

View File

@ -4,13 +4,13 @@ on:
branches:
- main
jobs:
api-build:
deploy:
runs-on: ubuntu-latest
steps:
- 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: Setting up kubeconfig
run: echo ${{ secrets.KUBE_CONFIG }} > kube.config
run: echo "${{ secrets.KUBE_CONFIG }}"" > kube.config
- name: Check if it works
run: ./kubectl --kubeconfig ./kube.config get nodes