Add yq checker
[kuberef.git] / deploy.sh
index 2b1e3ce..5a012e7 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -19,9 +19,6 @@ set -o nounset
 CURRENTPATH=$(git rev-parse --show-toplevel)
 export CURRENTPATH
 
-# Source env variables & functions
-# shellcheck source=./deploy.env
-source "$CURRENTPATH/deploy.env"
 # shellcheck source=./functions.sh
 source "$CURRENTPATH/functions.sh"
 
@@ -30,6 +27,9 @@ source "$CURRENTPATH/functions.sh"
 # ---------------------------------------------------------------------
 check_prerequisites
 
+# shellcheck source=./deploy.env
+source "$CURRENTPATH/deploy.env"
+
 # ---------------------------------------------------------------------
 # bootstrap install prerequisites
 # ---------------------------------------------------------------------