I try to run a gitlab runner which connects via ssh to a server and makes a git pull. I have the following minimal test.
in .gitlab-ci.yml
I have the following code in the script segment.
script:
- apt-get update
- apt-get install sshpass -y
- sshpass -p "password" ssh pdfssh@1.1.1.1 -p 7522 "cd /var/www/html/pdfgen && touch test.txt"
At the end I got this error: ERROR: Job failed: exit code 1
nothing more. What is my issue in this case?
Thanks in advance.