I'm currently using the Gitlab Pipelines to upload everything to my server.
The .gitlab-ci.yml path for uploading to the staging folder looks like the following:
staging_upload:
stage: staging
only:
refs:
- develop
- schedules
script:
- sshpass -V
- sshpass -p '$FTP_PASSWORD' rsync --progress -avz -e ssh . $FTP_USERNAME@$HOST:$PATH
While executing the pipeline I get the following error:
Using "assword" as the default password prompt indicator.
$ sshpass -p '$FTP_PASSWORD' rsync --progress -avz -e ssh . $FTP_USERNAME@$HOST:$PATH
sshpass: Failed to run command: No such file or directory
I already tried out various things but none we're working. Does anyone have an idea what is going wrong here?