Exclude .git directory when transferring over files for aws
authorFrank Duncan <frank@kank.net>
Mon, 27 Dec 2021 18:39:25 +0000 (12:39 -0600)
committerFrank Duncan <frank@kank.net>
Mon, 27 Dec 2021 18:39:25 +0000 (12:39 -0600)
src/main/aws/aws.lisp

index ad224af7439ad7b56ba4ba2a0e17f0cc79fc6935..c1499855b434b2a0ed6c30aeffd2f34fcdea22d8 100644 (file)
@@ -97,6 +97,8 @@
    "--delete"
    "-e"
    (format nil "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -i ~A" *aws-keyfile*)
+   "--exclude"
+   ".git"
    (candle:project-dir (candle:job-project job))
    (format nil "~A@~A:~A" *aws-username* (describe-property "PublicIpAddress") *remote-work-dir*)))
  (let*