This commit is contained in:
parent
c3606aebb3
commit
7e51074d42
@ -3,8 +3,6 @@ name: Kubernetes
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "main" ]
|
branches: [ "main" ]
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -48,6 +46,6 @@ jobs:
|
|||||||
|
|
||||||
# Configure kubeconfig
|
# Configure kubeconfig
|
||||||
mkdir -p ~/.kube
|
mkdir -p ~/.kube
|
||||||
echo "$KUBE_CONFIG" > ~/.kube/config
|
echo "$KUBE_CONFIG" > ~/.kube/config
|
||||||
kubectl delete -f kubernetes.yaml
|
|
||||||
kubectl apply -f kubernetes.yaml
|
kubectl apply -f kubernetes.yaml
|
||||||
Loading…
Reference in New Issue
Block a user