deploy.sh 322 B

123456789
  1. #!/bin/sh
  2. mkdocs build --clean
  3. # Obviously I use public key authentication to login.
  4. # No secret server information is displayed here :P
  5. ssh 192.168.0.200 'rm -rf /var/www/b4rt.nl/html/fpgc/'
  6. rsync -r site/ 192.168.0.200:/var/www/b4rt.nl/html/fpgc/
  7. ssh 192.168.0.200 'chown bart:www-data -R /var/www/b4rt.nl/html/fpgc/'