hi i have a small pipeline:
on merging a PR to master 1)copy branch files into some tmp folder/create it as an artifact and 2)upload folder*files into s3 bucket.
i saw the files in the folder /tmp/artifact but no artifact was create and therfore its failed on deploy step, any ideas?
pipelines:
branches:
master:
- step:
name: Build Artifact
script:
- pwd
- ls
- mkdir -p /tmp/artifact
- cp -r * /tmp/artifact -v
- ls -l /tmp/artifact
artifacts:
- '/tmp/artifact/**'
- step:
name: Deploy to S3
deployment: production
script:
- pipe: atlassian/aws-s3-deploy:0.3.8
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: 'us-east-1'
S3_BUCKET: 'test_bucket' #test
LOCAL_PATH: /tmp/artifact