deploy nuxt caddy 3

This commit is contained in:
Valentin 2024-02-25 17:34:14 +01:00
parent 4480f427a2
commit 0737964902
1 changed files with 3 additions and 1 deletions

View File

@ -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} &&\