Docker image to do deployments using FTP.
2.6K
This docker image aims to help with continuous deployment when only FTP can be used.
https://hub.docker.com/r/jrobinsonc/ftpdeploy/
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
Released under the MIT license.
Content type
Image
Digest
Size
94.7 MB
Last updated
over 5 years ago
docker pull jrobinsonc/ftpdeploy