Better deploy script

This commit is contained in:
Subnet_Masked 2023-11-01 22:21:25 -04:00
parent 4be7f4ea86
commit 8c9b3a6ff0

View file

@ -1,4 +1,5 @@
#!/bin/bash
mkdocs build
ssh -t cody@mcserver.u15i.net "rm -rf mc-website/*"
scp -r ./site/* cody@mcserver.u15i.net:/home/cody/mc-website/
#ssh -t cody@mcserver.u15i.net "rm -rf mc-website/*"
#scp -r ./site/* cody@mcserver.u15i.net:/home/cody/mc-website/
rsync -rzP --delete ./site/ cody@mcserver.u15i.net:/home/cody/mc-website/