I’m trying to enable SSH access and therefore, I need to run a custom bash script which is in root of my git repo. I took help from Drone’s custom logic docs, and use this script:
kind: pipeline name: default clone: disable: true steps: - name: clone image: docker:git commands: - echo "Cloning." - scripts/drone-ssh-key.sh - git clone git:...
However, I’m getting an error “drone-ssh-key.sh” not found.
But if I run a simpler configuration like…
pipeline: build: image: ubuntu commands: - apt-get update - apt-get install python -y - which python - python main.py
It reads my files smoothly. However, it throws a duplicate step error if I try to put a clone step over here.
Need help – I need to run the first file having it read my git repo.