hod8-chatstream/deploy.sh
2022-11-04 15:02:02 +01:00

9 lines
No EOL
245 B
Bash
Executable file

#!/usr/bin/env sh
# Create folder
ssh hod.emersa.it "mkdir -p chatstream"
tar --exclude='./node_modules' --zstd -cvf - . \
| ssh hod.emersa.it tar -C chatstream --zstd -xvf -
# ssh -N hod.emersa.it "cd chatstream; pkill -f node; ./start.sh &"