i have my .yml file as follows and i added the repository variables and ssh keys and everything seems to be fine however, my pipeline reaches the command step and doesn`t move further , how can i solve this ?
here is the yml file and the step it stops at.
image: node:14.18.1
pipelines:
branches:
stage:
- step:
name: Installing node_modules & Deploy Stage
deployment: Staging
script:
- pipe: atlassian/ssh-run:0.2.3
variables:
SSH_USER: $SSH_USER
SERVER: $SERVER
COMMAND: 'cd /var/www/gcs-backend && sudo git pull origin stage && sudo npm i && sudo pm2 restart index'