diff options
Diffstat (limited to 'deploy.sh')
-rwxr-xr-x | deploy.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..47fa800 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,4 @@ +#!/bin/bash +set -e +scp index.html robert@waterpi: +ssh robert@waterpi -C 'sudo cp index.html /var/www/html; sudo chown www-data:www-data /var/www/html/index.html' |