deploy-local-httpd.sh 254 B

12345678910111213
  1. #!/bin/bash
  2. # Deploy on local Apache2 Httpd instance
  3. from="`git rev-parse --show-toplevel`/web/"
  4. dest="/var/www/html/"
  5. echo "A copy will be peformed from ..."
  6. echo $from
  7. echo " ... to ... "
  8. echo $dest
  9. rsync --delete --recursive --verbose $from $dest