This repository has been archived on 2020-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
codesite/deploy.sh

11 lines
340 B
Bash

#!/bin/bash
chmod -R 644 /cygdrive/c/www/m6/code/wwwroot
chmod -R a+X /cygdrive/c/www/m6/code/wwwroot
rsync --delete -avz -e "ssh -i /cygdrive/c/www/ms1_deploy_key -p 2222" --progress /cygdrive/c/www/m6/code/wwwroot www-data@ms1.ivysaur.me:~/code.ivysaur.me/
# n.b. set chmod -R a+rX remote side?
read -p "Press any key to continue..."