Angular Deployment to AWS S3 via Travis Gem

Hello everyone,

I’m trying to use a recipe in a build of mine which goes basically like this:
deploy:
provider: s3
bucket: bucket-name
local_dir: $TRAVIS_BUILD_DIR/dist/build-dir
acl: public_read

The problem is: when I ommit local_dir it pushes onto my bucket every single file in the repo (as expected), and when I try to specify the local_dir it outputs me as if it couldn’t find it. I have debugged the build and confirmed the $TRAVIS_BUILD_DIR and its subsequent paths, no idea however what is going wrong.

Any tips on that?

Thanks in advance!