17 lines
339 B
YAML
17 lines
339 B
YAML
name: Kubectl Action
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Setup tale/kubectl-action
|
|
uses: tale/kubectl-action@main
|
|
with:
|
|
base64-kube-config: ${{ secrets.KUBE_CONFIG }}
|
|
- name: Test the output of `kubectl cluster-info`
|
|
run: kubectl cluster-info
|