GithubHelp home page GithubHelp logo

docker-git-ftp's People

Contributors

jsor avatar nebuir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-git-ftp's Issues

error: No such image: dotsunited/git-ftp

my .gitlab-ci.yml file content:

deploy:   
    stage: deploy
    image: dotsunited/git-ftp
    only:
        - master
    script:
        - git config git-ftp.url $FTP_DEPLOY_HOST
        - git config git-ftp.user $FTP_DEPLOY_USER
        - git config git-ftp.password $FTP_DEPLOY_PASS
        - git ftp catchup
        - git ftp push

failed error:

Using Docker executor with image dotsunited/git-ftp ...
Pulling docker image dotsunited/git-ftp ...
ERROR: Preparation failed: Error: No such image: dotsunited/git-ftp
Will be retried in 3s ...
Using Docker executor with image dotsunited/git-ftp ...
Pulling docker image dotsunited/git-ftp ...
ERROR: Preparation failed: Error: No such image: dotsunited/git-ftp
Will be retried in 3s ...
ERROR: Job failed (system failure): Error: No such image: dotsunited/git-ftp

first push will fail

hi! thanks for making this docker image but the first push will fail because the server doesn't have the "last deployed" information from the file not-yet-created on the server.

typically you would first do a git ftp init but instead you can incorporate a flag --auto-init in the push command

your config example script should be:

git ftp push -v --auto-init --syncroot public/ --user $FTP_DEPLOY_USER --passwd $FTP_DEPLOY_PASSWORD $FTP_DEPLOY_HOST

from the documentation: https://github.com/git-ftp/git-ftp/blob/master/man/git-ftp.1.md

thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.