commit 5aba25010b5bf8eb8bc882dce67a58a048e18173 parent 4456fcf33d07d214437552da9aea6dd524bbe3ae Author: MikoĊaj Lenczewski <mblenczewski@gmail.com> Date: Sun, 12 Apr 2026 22:56:30 +0100 Add upload script Diffstat:
| A | upload.sh | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/upload.sh b/upload.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +$(dirname $0)/clean.sh +$(dirname $0)/build.sh + +sftp router <<EOF + put -fR out/* /srv/www/lektura.lenczewski.org/ +EOF + +ssh router -C "rc-service nginx reload"