Activate auto-deploy
Some checks failed
/ diff-and-deploy (push) Failing after 41s

This commit is contained in:
Finn 2024-10-29 23:46:54 -07:00
parent 91fd97d189
commit d22e1e81b1

View file

@ -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