I have the following pipeline that I am struggling with
image: mingc/android-build-box:latest
pipelines:
branches:
development:
- step:
caches:
- gradle
script:
- chmod +x gradlew
- ./gradlew assembleDebug
artifacts:
- app/build/outputs/apk/debug/*.apk
release:
- step:
name: Build and Sign
caches:
- gradle
script:
- chmod +x gradlew
- ./gradlew clean assembleRelease
artifacts:
- app/build/outputs/apk/release/*.apk
- step:
name: Deploy to AWS
deployment: Production
script:
- pipe: atlassian/aws-s3-deploy:0.2.4
variables:
AWS_ACCESS_KEY_ID: 'mykeyid'
AWS_SECRET_ACCESS_KEY: 'myaccess'
AWS_DEFAULT_REGION: 'eu-west-2'
S3_BUCKET: 'mybucket'
LOCAL_PATH: '????'
Whatever I try as the local path for my artifact results in a 'local path must be a directory error'
How can I deploy my apk to s3?