better deploy script

This commit is contained in:
Rupus Reinefjord 2024-03-31 18:40:39 +02:00
parent e734f71dde
commit c80ec54ec5

6
deploy
View file

@ -1,2 +1,4 @@
#!/bin/sh
rsync --ignore-existing -rPh public root@reinefjord.net:/var/www/reinefjord.net-v3/
#!/bin/bash
IFS=$'\n'
rsync -Rtzv $(git ls-files public) root@reinefjord.net:/var/www/reinefjord.net-v3/