diff --git a/publish b/publish index 3b4e351..4926bc2 100755 --- a/publish +++ b/publish @@ -4,14 +4,17 @@ git add .;git commit -m"$@";git push -u origin master -echo "Rsync to host..." +echo "Rsync static assets..." rsync --super -avh -e ssh ./css/* gmgauthier@socrates:/var/www/oldcomputernerd.com/css rsync --super -avh -e ssh ./font/* gmgauthier@socrates:/var/www/oldcomputernerd.com/font rsync --super -avh -e ssh ./img/* gmgauthier@socrates:/var/www/oldcomputernerd.com/img -rsync --super -avh -e ssh ./htm/* gmgauthier@socrates:/var/www/oldcomputernerd.com/htm -rsync --super -avh -e ssh ./md/* gmgauthier@socrates:/var/www/oldcomputernerd.com/md -rsync --super -avh -e ssh ./txt/* gmgauthier@socrates:/var/www/oldcomputernerd.com/txt +echo "Rsync content files" +rsync --super -avh -e ssh ./txt/* gmgauthier@socrates:/var/www/oldcomputernerd.com/txt +rsync --super -avh -e ssh ./htm/* gmgauthier@socrates:/var/www/oldcomputernerd.com/htm +rsync --super -avhr -e ssh ./md/* gmgauthier@socrates:/var/www/oldcomputernerd.com/md + +echo "Rsync root files" rsync --super -avh -e ssh ./*.html gmgauthier@socrates:/var/www/oldcomputernerd.com rsync --super -avh -e ssh ./*.md gmgauthier@socrates:/var/www/oldcomputernerd.com