This commit is contained in:
parent
91fd97d189
commit
d22e1e81b1
1 changed files with 9 additions and 9 deletions
|
@ -25,13 +25,13 @@ jobs:
|
|||
echo "👀 $ kubectl diff -k ${component}"
|
||||
kubectl diff -k "${component}" || echo
|
||||
|
||||
# if [[ "${GITHUB_REF_NAME}" == "main" ]]; then
|
||||
# echo "🚀 $ kubectl apply -k ${component}"
|
||||
# if [[ "${component}" == "k8s/operators" ]]; then
|
||||
# kubectl apply -k "${component}" --server-side
|
||||
# else
|
||||
# kubectl apply -k "${component}"
|
||||
# fi
|
||||
# echo
|
||||
# fi
|
||||
if [[ "${GITHUB_REF_NAME}" == "main" ]]; then
|
||||
echo "🚀 $ kubectl apply -k ${component}"
|
||||
if [[ "${component}" == "k8s/operators" ]]; then
|
||||
kubectl apply -k "${component}" --server-side
|
||||
else
|
||||
kubectl apply -k "${component}"
|
||||
fi
|
||||
echo
|
||||
fi
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue