From: Frank Duncan Date: Mon, 27 Dec 2021 18:39:25 +0000 (-0600) Subject: Exclude .git directory when transferring over files for aws X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?a=commitdiff_plain;h=21b721064ff5d76ed21602ae254e1765cc5e8cfd;p=candle Exclude .git directory when transferring over files for aws --- diff --git a/src/main/aws/aws.lisp b/src/main/aws/aws.lisp index ad224af..c149985 100644 --- a/src/main/aws/aws.lisp +++ b/src/main/aws/aws.lisp @@ -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*