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/