I installed and configured drone with two runners docker and SSH. All build steps are run correctly on docker, whoever for ssh runner I’m getting ssh - clone: skipped.
My .drone.yml
is as follows:
kind: pipeline
type: docker
name: default
steps:
- name: echo branch
image: alpine
commands:
- echo ${DRONE_BRANCH}
---
kind: pipeline
type: ssh
name: ssh
server:
host: ******
user: ******
ssh_key:
from_secret: ssh_key
steps:
- name: deploy-app
commands:
- echo ${DRONE_BRANCH}
- ./publish.sh ${DRONE_BRANCH}
I’m using docker-compose to setup server and runners and both runners are sharing same file with: DRONE_RPC_SECRET, DRONE_RPC_HOST, DRONE_RPC_PROTO
What I’m doing wrong?