about summary refs log tree commit diff
path: root/sync.sh
diff options
context:
space:
mode:
authorEmile <git@emile.space>2022-01-09 13:32:02 +0100
committerEmile <git@emile.space>2022-01-09 13:32:02 +0100
commita299442fa50d2571f426b396a3d23e0b3f24da7b (patch)
treed1d06125214fd1b39d96b8746b03830e3ea9271c /sync.sh
initial commit
Diffstat (limited to 'sync.sh')
-rwxr-xr-xsync.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/sync.sh b/sync.sh
new file mode 100755
index 0000000..67de082
--- /dev/null
+++ b/sync.sh
@@ -0,0 +1,5 @@
+# sync files
+rsync -avz --delete ../emile.space/out/* root@nix1:/var/www/emile.space/
+
+# fix perms
+ssh root@nix1 chmod -R +r /var/www/emile.space/*