summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/deploy.sh b/deploy.sh
index 3fffd76..6d7a19a 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,4 +1,7 @@
#!/bin/bash
set -e
-scp plot_new.py read_dht11.py water_the_plant create_backup make_photo index.html history.html *.png robert@waterpi:
-ssh robert@waterpi -C 'sudo cp index.html history.html *.png /var/www/html; sudo chown www-data:www-data /var/www/html/*.html /var/www/html/*.png; sudo cp plot_new.py read_dht11.py create_backup make_photo plot.py read_temperature.py water_the_plant /usr/local/bin'
+scp plot.py read_sensors.py water_the_plant create_backup make_photo index.html history.html *.png robert@waterpi:
+ssh robert@waterpi -C '\
+ sudo cp index.html history.html *.png /var/www/html; \
+ sudo chown www-data:www-data /var/www/html/*.html /var/www/html/*.png; \
+ sudo cp plot.py read_sensors.py create_backup make_photo plot.py read_temperature.py water_the_plant /usr/local/bin'