From c80ec54ec51e8e8a9355a0d6347bee926ca321e0 Mon Sep 17 00:00:00 2001 From: Rupus Reinefjord Date: Sun, 31 Mar 2024 18:40:39 +0200 Subject: [PATCH] better deploy script --- deploy | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/deploy b/deploy index 1ac9fec..d59cec7 100755 --- a/deploy +++ b/deploy @@ -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/