deploy nuxt caddy 3
This commit is contained in:
parent
4480f427a2
commit
0737964902
|
@ -334,9 +334,11 @@ if [[ "$answer" == "y" ]]; then
|
||||||
front_folder=$(echo "$repo_url" | sed 's#.*/\([^/]*\)\.git#\1#')
|
front_folder=$(echo "$repo_url" | sed 's#.*/\([^/]*\)\.git#\1#')
|
||||||
if [[ -z "$website_token" ]]; then
|
if [[ -z "$website_token" ]]; then
|
||||||
echo -e "${PURPLE}${BOLD}Enter the Directus Website user static token${RESET}"
|
echo -e "${PURPLE}${BOLD}Enter the Directus Website user static token${RESET}"
|
||||||
read website_token
|
read -s website_token
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo $username
|
||||||
|
|
||||||
su -c "cd /home/${username} &&\
|
su -c "cd /home/${username} &&\
|
||||||
git clone ${repo_url} &&\
|
git clone ${repo_url} &&\
|
||||||
cd ${front_folder} &&\
|
cd ${front_folder} &&\
|
||||||
|
|
Loading…
Reference in New Issue