Gitlab CI runner only for auto deploy

Hi, we have installed gitlab 8.16 in our Debian local server.

Recently, we tried to use gitlab CI service just for auto deployment on an FTP site.
*Note that I can not install docker on our 64bit server. I tried a lot of tutorial with no luck.

Here is my .yml file:
stages:

  • build-production

variables:
EXCLUDE: “–exclude-glob .git* --exclude ‘.git/’”
SOURCE_DIR: “./”

PRODUCTION

DEST_DIR_PROD: “/”
HOST_PROD: “******”
USERNAME_PROD: “test”
PASSWORD_PROD: “test”

job1:
stage: build-production
environment: production
when: always
script:

  • apt-get update -qq && apt-get install lftp
  • echo “Deploying”
  • lftp -e “mirror -R $SOURCE_DIR $DEST_DIR_PROD” -u $USERNAME_PROD,$PASSWORD_PROD $DEST_DIR_PROD

I installed a runner with ssh executor and when it runs I have the following errors:
ERROR: Preparation failed: asn1: structure error: tags don’t match (16 vs {class:0 tag:22 length:41 isCompound:true}) {optional:false explicit:false application:false defaultValue: tag: stringType:0 timeType:0 set:false omitEmpty:false} pkcs1PrivateKey @2

Does anybody can give me a complete tutorial on how can I setup a job to just deploy the project to an FTP site?

Thanks