diff --git a/scripts/push_files.sh b/scripts/push_files.sh index 65f61ad..7c2cb5e 100644 --- a/scripts/push_files.sh +++ b/scripts/push_files.sh @@ -5,6 +5,6 @@ echo "$SSH_PRIVATEKEY" > ssh_key chmod 700 ssh_key -scp -o StrictHostKeyChecking=no -i ssh_key -P "$BB_PORT" *.html *.spl *.css lorem-ipsum "root@$BB_HOST:$BB_PATH" && +scp -o StrictHostKeyChecking=no -i ssh_key -P "$BB_PORT" *.html *.spl *.css *.png lorem-ipsum "root@$BB_HOST:$BB_PATH" && (ssh -o StrictHostKeyChecking=no -i ssh_key -p "$BB_PORT" "root@$BB_HOST" "cd $BB_PATH && bash reload.sh" || true) rm ssh_key