fix: install kubectl in CI before deploy step
Some checks failed
Build & Deploy / build-and-deploy (push) Failing after 12s

The Act runner doesn't have kubectl pre-installed.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ordinarthur 2026-04-12 12:04:58 +02:00
parent 3a719c5aea
commit e786cf6766

View File

@ -35,6 +35,12 @@ jobs:
VITE_SUPABASE_URL=${{ secrets.VITE_SUPABASE_URL }}
VITE_SUPABASE_ANON_KEY=${{ secrets.VITE_SUPABASE_ANON_KEY }}
- name: Install kubectl
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
chmod +x kubectl
mv kubectl /usr/local/bin/
- name: Deploy to K3s
run: |
mkdir -p ~/.kube