Sign inSign up

jrobinsonc/ftpdeploy

By jrobinsonc

•Updated over 5 years ago

Docker image to do deployments using FTP.

Image
0

2.6K

jrobinsonc/ftpdeploy repository overview

⁠Docker FTP Deploy

This docker image aims to help with continuous deployment when only FTP can be used.

https://hub.docker.com/r/jrobinsonc/ftpdeploy/⁠

⁠Usage

image: jrobinsonc/ftpdeploy

pipelines:
  default:
    - step:
        name: Deploy
        #trigger: manual
        deployment: production
        script: 
        - git ftp push -v --syncroot 'dist' --remote-root '$FTP_PATH' -u '$FTP_USER' -p '$FTP_PASS' '$FTP_HOST'

⚠️ Remember that the first time you must use git ftp init to upload all the files or git ftp catchup if the server has already the files:

git ftp init  --syncroot 'dist' --remote-root '$FTP_PATH' -u '$FTP_USER' -p '$FTP_PASS' '$FTP_HOST'

For more details about GIT-FTP, visit:
https://github.com/git-ftp/git-ftp⁠

⁠License

Released under the MIT license⁠.

Tag summary

Content type

Image

Digest

Size

94.7 MB

Last updated

over 5 years ago

docker pull jrobinsonc/ftpdeploy