Hey, folks - I have an application that builds a WAR file and attempts to upload it to an existing directory in a S3 bucket:
- provider: s3
glob: "**/ROOT.war"
region: us-east-1
bucket: "${AWS_S3_BUCKET}"
upload-dir: "${AWS_S3_PATH}"
access_key_id: ${AWS_ACCESS_KEY_ID}
secret_access_key: ${AWS_SECRET_ACCESS_KEY}
skip_cleanup: true
on:
tags: true
The variables are set as global env vars. When run, though, Travis seems to be attempting to upload the entire repo and, apparently, to a directory that doesn’t exist or to which I don’t have perms. I’ll check on the perms thing, but I can’t find anything to help me understand why I can’t upload a single file. I did see an answer on StackOverflow indicating that it only works in v2, but no indication of such in the v1 docs.
Thanks!