summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
authorRobert Scheibe <mail@robert-scheibe.de>2025-01-11 19:36:13 +0100
committerRobert Scheibe <mail@robert-scheibe.de>2025-01-11 19:36:13 +0100
commit1b494e6d3e7da116e34f915269892b5e8c752271 (patch)
treee16c991f5822008e5ceaa87eec34aa7223e1f116 /deploy.sh
parent45d0333ed05738f82806fee58cc7031698b8481b (diff)
deploy script better, plot label correctedmain
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deploy.sh b/deploy.sh
index 6069922..ebd255e 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
-scp favicon.ico plot.py read_sensors.py water_the_plant create_backup make_photo index.html history.html *.png robert@waterpi:
+scp favicon.ico plot.py read_sensors.py water_the_plant create_backup make_photo index.html history.html bck.png error.png fbck.png ffwd.png fwd.png stop.png robert@waterpi:
ssh robert@waterpi -C '\
- sudo cp favicon.ico index.html history.html *.png /var/www/html; \
+ sudo mv favicon.ico index.html history.html bck.png error.png fbck.png ffwd.png fwd.png stop.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 read_temperature.py water_the_plant /usr/local/bin'
+ sudo mv plot.py read_sensors.py create_backup make_photo read_temperature.py water_the_plant /usr/local/bin'