#!/bin/sh mkdir -p ./public rm -r ./public/* hugo ssh root@vasthecat.com 'rm -r /var/www/vasthecat.com/*' scp -r ./public/* root@vasthecat.com:/var/www/vasthecat.com/ # ssh root@vasthecat.com 'chown -R www-data:www-data /var/www/vasthecat.com/'