script: - pipe: atlassian/ssh-run:0.3.0
variables:
SSH_USER: 'ubuntu'
SSH_KEY: $MY_SSH_KEY
SERVER: '**.***.***.***'
MODE: 'script'
COMMAND: '/deploy.sh'
I'm trying to execute the script which is inside my AWS instance. Above is the pipeline command which I'm using to execute. This is the configuration error I'm getting, "There is an error in your bitbucket-pipelines.yml at [(root level)]. To be precise: The top-level "pipelines" section is missing, empty, or null." I checked the yml file in yamllint and it looks good. What I need to correct here to execute the shell script file in my server.