From 073796490202cd5095bd547413c77394b19decfd Mon Sep 17 00:00:00 2001 From: Valentin Date: Sun, 25 Feb 2024 17:34:14 +0100 Subject: [PATCH] deploy nuxt caddy 3 --- install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 84d1977..52fe9ae 100644 --- a/install.sh +++ b/install.sh @@ -334,9 +334,11 @@ if [[ "$answer" == "y" ]]; then front_folder=$(echo "$repo_url" | sed 's#.*/\([^/]*\)\.git#\1#') if [[ -z "$website_token" ]]; then echo -e "${PURPLE}${BOLD}Enter the Directus Website user static token${RESET}" - read website_token + read -s website_token fi + echo $username + su -c "cd /home/${username} &&\ git clone ${repo_url} &&\ cd ${front_folder} &&\