# Angular Deployment to AWS S3 via Travis Gem

**URL:** https://travis-ci.community/t/angular-deployment-to-aws-s3-via-travis-gem/163
**Category:** Travis CI Discussions & Feedback
**Created:** [September 14, 2018, 6:30pm UTC](https://travis-ci.community/t/angular-deployment-to-aws-s3-via-travis-gem/163 "2018-09-14T18:30:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![diegodillenburg](https://avatars.discourse-cdn.com/v4/letter/d/ce73a5/32.png) [@diegodillenburg](https://travis-ci.community/u/diegodillenburg)
#### Post date: [September 14, 2018, 6:30pm UTC](https://travis-ci.community/t/angular-deployment-to-aws-s3-via-travis-gem/163/1 "2018-09-14T18:30:29Z")

</div>

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!
