PASSAGGIO A VITE !
AGG. 1.1.23
This commit is contained in:
11
scripts/send_spa_to_test.sh
Executable file
11
scripts/send_spa_to_test.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
source ./.env.test
|
||||
|
||||
cp .env.test .env.production
|
||||
|
||||
echo "Sincronizzazione in remoto $SERVERDIR_WEBSITE ..."
|
||||
sshpass -p $SERVERPW_WEBSITE rsync -e 'ssh -p 8855' -a --exclude 'upload' dist/spa/ ftpadmin@servereng:$SERVERDIR_WEBSITE/
|
||||
echo "Finito $SERVERDIR_WEBSITE"
|
||||
|
||||
cp .env.prod.bak .env.production
|
||||
Reference in New Issue
Block a user