Hi,
Is there a possibility to have mutliple pipes,each as its own script but only in one step?
Cause i want to deploy my new docker image, i have a deploy.sh script. My steps are use SCP pipe to copy the script, use SSH pipe to run the script with some variables.
When i tried that in a format:
-step:
- script:
pipe1:
- script:
pipe2:
It only executes the last script, and skips the first one.
Is there some better way to do this, or i have to create two steps each with one script/pipe?
And is there a way from me to access the ssh private key i added? If i would not to use pipe, how would I ssh to my server, what would be the path to the private key? Woud it be ssh -i ~/.ssh/config?