Skip to content

Commit e8fa6ea

Browse files
committed
init
1 parent 9348c22 commit e8fa6ea

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/aws-s3-sync.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,9 @@ jobs:
4141
- name: Sync directory to S3
4242
run: |
4343
DEST="s3://${{ secrets.bucket_name }}/${{ inputs.bucket_prefix }}"
44-
aws s3 sync "${{ inputs.source_dir }}" "$DEST" --delete
44+
aws s3 sync "${{ inputs.source_dir }}" "$DEST" \
45+
--delete \
46+
--exclude ".git/*" \
47+
--exclude ".github/*" \
48+
--exclude ".gitignore" \
49+
--exclude ".gitattributes"

0 commit comments

Comments
 (0)