removed tests from deploy
This commit is contained in:
5
deploy
5
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)"
|
||||
|
||||
Reference in New Issue
Block a user