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.
The pipelines section gives information of the branches ( master/pull-request/feature etc., ) under which the script details are given.
Example given below:
pipelines:
default:
- step: *xxxx
script:
branches:
master:
- step: *xx
script:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.