update push.sh

This commit is contained in:
Simon Gardling
2022-03-18 13:41:20 -04:00
parent 3f329bbb9b
commit 17916a2b23

View File

@@ -4,10 +4,10 @@ set -e #kill script if error occurs
bash build.sh bash build.sh
echo "rsyncing" echo "rsyncing"
rsync -av --delete --info=progress2 tmp/ rpi-public:/mnt/hdd/http_share/integral-demo/ #rsync -av --delete --info=progress2 tmp/ rpi-public:/mnt/hdd/http_share/integral-demo/
rsync -av --delete --info=progress2 --exclude=".git" tmp/ ../titaniumtown.github.io/ rsync -av --delete --info=progress2 --exclude=".git" tmp/ ../titaniumtown.github.io/
rm -fr tmp rm -fr tmp
cd ../titaniumtown.github.io cd ../titaniumtown.github.io
git add . git add .
git commit -m "update" | true git commit -m "update" | true
git push git push