I'm a bit at a loss. I'm using AWS Elastic Beanstalk Pipe with BitBucketi pipelines. Here's our pipeline, with minimal redaction and some simplification since this is a public forum.
image: node:6.9.4
pipelines:
branches:
master:
- step:
name: Build
caches:
- node
script: # Modify the commands below to build your repository.
- npm install
- API_URL=[redacted] npm run build
- mv dist dist
artifacts:
- dist
- step:
name: Zip
image: atlassian/default-image:2
script:
- apt-get install zip
- cd dist
- zip -r ../application-deploy.zip *
artifacts:
- application-deploy.zip
- step:
name: Deploy to Staging
deployment: staging
script:
- pipe: atlassian/aws-elasticbeanstalk-deploy:0.2.3
variables:
AWS_ACCESS_KEY_ID: $AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY: $AWS_SECRET_ACCESS_KEY
AWS_DEFAULT_REGION: $AWS_DEFAULT_REGION
APPLICATION_NAME: '[redacted]'
COMMAND: 'only-deploy'
VERSION_LABEL: 'ci-staging-${ENVIRONMENT_NAME}_${BITBUCKET_COMMIT:0:8}_YYYY-mm-dd_HHMMSS)'
ENVIRONMENT_NAME: '[redacted]'
ZIP_FILE: 'application-deploy.zip'
WAIT: 'true'
DEBUG: 'true'
Upon using this pipeline, it passes with a nice green checkmark.

However, the deployment never appears to happen! There's nothing uploaded in our application versions, there's no changes to the actual environment. BitBucket Pipes is showing success, but no deployment has happened.
What gives?