fix s3 config
Merge pull request #2585 from sly7-7/fix-S3-publish

Fix s3 config