summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-08-31 17:51:57 +0600
committerunwox <me@unwox.com>2025-09-04 20:14:11 +0600
commit66c51b0e714fa8a1c80784108191270babc8525e (patch)
tree0640549f522092096d83c78b9be9b1fa4a03929e /run.sh
parentd8039a77d582f696ab98b2a6d02ce924fbacfa41 (diff)
implement shop
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index 735e815..5a19098 100755
--- a/run.sh
+++ b/run.sh
@@ -23,10 +23,14 @@ deploy () {
git stash -u
scp -r bin root@everytea.ru:~/whitetoad.ru/
scp -r pages root@everytea.ru:~/whitetoad.ru/
- scp -r static root@everytea.ru:~/whitetoad.ru/
+ scp static/* root@everytea.ru:~/whitetoad.ru/static/ || true
scp -r vendor root@everytea.ru:~/whitetoad.ru/
- scp templates.fnl root@everytea.ru:~/whitetoad.ru/
scp main.lua root@everytea.ru:~/whitetoad.ru/
+ scp forms.fnl root@everytea.ru:~/whitetoad.ru/
+ scp lib.fnl root@everytea.ru:~/whitetoad.ru/
+ scp macros.fnl root@everytea.ru:~/whitetoad.ru/
+ scp dicts.fnl root@everytea.ru:~/whitetoad.ru/
+ scp templates.fnl root@everytea.ru:~/whitetoad.ru/
ssh root@everytea.ru -- systemctl restart whitetoad
git stash pop
}