From 4359358ba26424b49ea34185e067cdb0c4e8e0d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Sierro?= Date: Thu, 28 Sep 2023 09:28:12 +0200 Subject: [PATCH] removed tests from deploy --- deploy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy b/deploy index 3ba3d01..cfc0ed2 100755 --- a/deploy +++ b/deploy @@ -1,7 +1,10 @@ #!/usr/bin/env nu let zipfile = "scgenerator.zip" -let filelist = (git ls-files | lines | where {not ($in | str ends-with ".afphoto")}) +let filelist = (git ls-files | lines + | where {not ($in | str ends-with ".afphoto")} + | where {not ($in | str starts-with "tests")} + ) ^zip $zipfile $filelist scp -O $zipfile $"fibnas:/volume1/web/($zipfile)"