4

I want deploy my website when I push changes on master.

I tried to follow the guides from bitbucket and other sites but nothing solved my issues.

My .yml file look like that

image: samueldebruyn/debian-git

pipelines:
  default:
    - step:
        script:
          - echo "Pipeline Init"
          - apt-get update
          - apt-get -qq install git-ftp
          - git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST

and I got error like that

+ git ftp init --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST
fatal: Can't access remote 'ftp://osienkiewicz:***@192.168.13.69', exiting

I have access via web browser to ftp server.

I don't know what I do wrong.

phd
  • 82,685
  • 13
  • 120
  • 165

0 Answers0