From ddec6ffae3d89591133cd32dfc95beec6f59df09 Mon Sep 17 00:00:00 2001 From: Michael Buhler Date: Thu, 28 Nov 2024 17:49:15 +0700 Subject: [PATCH] ci: add simple publish script --- publish.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 publish.sh diff --git a/publish.sh b/publish.sh new file mode 100755 index 0000000..84ebe9d --- /dev/null +++ b/publish.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +cd $(dirname $0) + +ssh michael@econosim.org rm -frv /www/econosim.org/econosim.org/static + +scp -r build/* michael@econosim.org:/www/econosim.org/econosim.org