correction de ce maudit bug en fait .nuxtrc c'est un fichier pas un dossier
This commit is contained in:
parent
ffb7cb6372
commit
75220e3b60
|
@ -2,9 +2,9 @@
|
||||||
username=$(getent passwd 1000 | cut -d: -f1)
|
username=$(getent passwd 1000 | cut -d: -f1)
|
||||||
repo_name=$1
|
repo_name=$1
|
||||||
cd /home/$username/$repo_name
|
cd /home/$username/$repo_name
|
||||||
pwd
|
|
||||||
git pull origin prod
|
git pull origin prod
|
||||||
#tmux send-keys -t directus C-c
|
tmux send-keys -t directus C-c
|
||||||
#NUXT_TELEMETRY_DISABLED=1 bash -c \"npm run build\"
|
npm i
|
||||||
#tmux send-keys -t front \"cd /home/${username}/${front_folder} && node .output/server/index.mjs\" C-m
|
npm run build
|
||||||
#tmux send-keys -t directus \"npx directus start\" C-m
|
tmux send-keys -t front \"cd /home/${username}/${front_folder} && node .output/server/index.mjs\" C-m
|
||||||
|
tmux send-keys -t directus \"npx directus start\" C-m
|
|
@ -353,7 +353,9 @@ if [[ "$answer" == "y" ]]; then
|
||||||
read -s website_token
|
read -s website_token
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir /var/www/.nuxtrc
|
touch /var/www/.nuxtrc
|
||||||
|
echo "telemetry.consent=0" > /var/www/.nuxtrc
|
||||||
|
echo "telemetry.enabled=true" >> /var/www/.nuxtrc
|
||||||
chown -R www-data:www-data /var/www/.nuxtrc
|
chown -R www-data:www-data /var/www/.nuxtrc
|
||||||
|
|
||||||
su -s /bin/bash -c "cd ${repo_directory} &&\
|
su -s /bin/bash -c "cd ${repo_directory} &&\
|
||||||
|
|
Loading…
Reference in New Issue