summaryrefslogtreecommitdiff
path: root/web/update-remote.sh
diff options
context:
space:
mode:
authornavewindre <boneyaard@gmail.com>2026-02-11 02:05:39 +0100
committernavewindre <boneyaard@gmail.com>2026-02-11 02:05:39 +0100
commitd9d55620a6f4f44b2c5069da107b2b3b111390ed (patch)
treefbee83ccabeee18a04a691d61b60f68e98fa6553 /web/update-remote.sh
parent3032a8495174f4f583f52c4e9429b6d4d357dc0c (diff)
seo renderer
Diffstat (limited to 'web/update-remote.sh')
-rwxr-xr-xweb/update-remote.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/update-remote.sh b/web/update-remote.sh
new file mode 100755
index 0000000..a861b60
--- /dev/null
+++ b/web/update-remote.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+REPLY=0
+read -p "are you sure you want to update the remote website? (y/n) " REPLY
+
+if [[ "$REPLY" == "y" ]]; then
+ for i in $(ls -1 ./dist/); do
+ echo "copying $i"
+ scp -r ./dist/$i root@networkheaven.net:/var/www/html/
+ done
+fi