Files
scgenerator/deploy
2024-02-06 08:59:34 +01:00

14 lines
284 B
Plaintext

#!/usr/bin/env nu
let zipfile = "scgenerator.zip"
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)"
rm $zipfile