summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
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
}