Hello,
I'm new to BB Pipelines and I'm and as a first step, I'd like to deploy to my staging server on a push. I get the following error when I push:
<span>bash: ssh: command not found</span>
Is SSH not working or is this referring to the bash script?
My config file is:
image: php:7.1.29
pipelines:
default:
- step:
name: Install ssh
script:
- apt-get update -y
- apt-get install -y ssh
- step:
name: Deploy to Staging
script:
- sh deploy.sh | ssh username@12.34.567.890
- echo "Deploy step finished"
Am I approaching this incorrectly?