update push.sh
This commit is contained in:
4
push.sh
4
push.sh
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user