From 1f411facb311250553243b99b15fe300199ae8ca Mon Sep 17 00:00:00 2001 From: Simon Gardling Date: Wed, 23 Feb 2022 10:10:26 -0500 Subject: [PATCH] update push.sh --- push.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/push.sh b/push.sh index 6f13a9e..8655e9e 100755 --- a/push.sh +++ b/push.sh @@ -11,6 +11,9 @@ cp www/bootstrap.js www/index.html www/index.js www/style.css tmp/ sed -i 's/\.\.\/pkg/\.\/pkg/g' tmp/bootstrap.js +# put the commit at the beginning of index.html +sed -i '1i ' tmp/index.html + echo "rsyncing" rsync -av --delete --info=progress2 tmp/ rpi-public:/mnt/hdd/http_share/integral-demo/ rsync -av --delete --info=progress2 --exclude=".git" tmp/ ../integral-demo/