I\'m using GitLab CI tool and was using this script for a few months with no problems at all:
- curl "https://s3