Pipelines deploy fail with fatal error: Could not get last commit. Network down? Wrong URL?

XMLWordPrintable

      Hi,

      I’m using a standard script in pipelines to deploy via git:

      image: samueldebruyn/debian-git
      
      pipelines:
          branches:
              master:
                - step:
                    script:
                    - apt-get update
                    - apt-get -qq install git-ftp
                    - git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD sftp://1.1.1.1/home/website/public_html
      

      This has been working for last 6-9 months.

      This week it stopped working and it is giving me an error:

      fatal: Could not get last commit. Network down? Wrong URL? Use 'git ftp init' for the initial push., exiting...

      I have tried doing init too and got this error:

      fatal: Can't access remote 'sftp://username:***@1.1.1.1', exiting...

      I have retested the username and password and my normal ftp program and i can login into it.

      Any ideas on how to fix this, is this a bug maybe?

      Thanks!

              Assignee:
              Unassigned
              Reporter:
              paulsolo
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: