When running atlassian/aws-s3-deploy:0.2.1 as part of a pipe in a script for a pipeline, what is the mount path. No matter what directory I try to specify whether its the repo name or any of the child directories I always get "LOCAL_PATH must be a directory". When I set LOCAL_PATH="." it uploads nothing to my S3 bucket. It almost seems like nothing is mounting to the docker container.
script: # Modify the commands below to build your repository.
- cd react-app
- npm install
- npm run dist
- echo "Building react apps complete!"
- pipe: atlassian/aws-s3-deploy:0.2.1
$BITBUCKET_CLONE_DIR will return you the full path at the top level of your repo. Ex: it would return `/path/to/my-clone-repo`. I've just been using that environment variable as my point of reference in my scripts, and using `cd ../artifacts` to go between my repo and artifacts directories.
Hope that helps.
...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events