From 1e3dc0704449cd0be36efaf5efda5cce0807ba93 Mon Sep 17 00:00:00 2001 From: Sciocatti Date: Sat, 7 Jan 2023 17:52:15 +0200 Subject: [PATCH] Setup script deletes template folder when done. --- template/setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/template/setup.sh b/template/setup.sh index 7163956..cecb710 100755 --- a/template/setup.sh +++ b/template/setup.sh @@ -27,7 +27,7 @@ read -p "Are you deploying this with the Sciocatti Jenkins pipeline? [Yn] " useJ if [ $useJenkins == 'Y' ] || [ $useJenkins == 'y' ] then - echo "Configuring deployment settings. Deployments will work on branches called 'stage' (), 'main', 'prod'" + echo "Configuring deployment settings. See the Readme for info on deployable branches." read -p " K3S App name: " k3sApp read -p " K3S namespace: [eg apps] " k3sNamespace read -p " K3S base container: [eg nginx:nginx:latest] " k3sContainerBase @@ -99,4 +99,7 @@ then fi +echo "Removing template folder" +rm -rf template + echo "Thank you! Happy building..." \ No newline at end of file