Hey guys, complete drone noob here and I was hoping to get some help with my pipeline.
I have a step that involves ssh-ing into a server in order to run some bash scripts. I read somewhere online that it might be a good idea to mount the volume where the ssh keys live, and then execute my commands. I can’t for the life of me get it to work!
In the step, it’s mounted as:
volumes:
- name: ssh-keys
path: /ssh
And in the ‘volumes’ section, i have it as:
volumes:
name: ssh-keys
host:
path: /home/drone/.ssh
When i do a “ls -a” as part of my step just to see if it’s mounted, i see no ‘ssh’ folder. Is there a step I’m missing here?