correction de ce maudit bug en fait .nuxtrc c'est un fichier pas un dossier

This commit is contained in:
Valentin
2024-02-26 17:57:56 +01:00
parent ffb7cb6372
commit 75220e3b60
2 changed files with 9 additions and 7 deletions

View File

@@ -2,9 +2,9 @@
username=$(getent passwd 1000 | cut -d: -f1)
repo_name=$1
cd /home/$username/$repo_name
pwd
git pull origin prod
#tmux send-keys -t directus C-c
#NUXT_TELEMETRY_DISABLED=1 bash -c \"npm run build\"
#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
tmux send-keys -t directus C-c
npm i
npm run build
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