PASSAGGIO A VITE !

AGG. 1.1.23
This commit is contained in:
Surya Paolo
2025-03-01 14:15:40 +01:00
parent bc960d38a1
commit c52ca22c83
520 changed files with 3618692 additions and 5448 deletions

17
scripts/deploy_frontend.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
source ./.env.production
msg="*** TUTTI I SERVER FRONTEND !!! **** SEI SICURO DI INVIARE GLI AGGIORNAMENTI FRONTEND - SU TUTTI SERVER ??? $DIRECTORY_LOCAL (Y/N) ? "
if [ "$1" = "" ]; then
read -p "$msg" risposta
else
risposta=$1
fi
if [[ $risposta == "Y" || $risposta == "y" ]]; then
cd /home/paolo/myproject/$DIRECTORY_LOCAL/
./deploy_on_production.sh $risposta
./deploy_on_test_server.sh $risposta
fi