I am trying to use s3_sync to upload files from local git repository to S3 without the .git directory. I tried the exclude parameter with different variations such as “.git,.git/,.git*/*”
This is the line that I tested (with dummy values):
s3_sync: aws_access_key=“xxx” aws_secret_key=“xxx” bucket=“somes3bucket” file_root=/path/ exclude=“.git,.git/,.git*/*” mode=push delete=yes
Anyone has had any success with excluding folders?