Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotsunited/docker-git-ftp
https://github.com/dotsunited/docker-git-ftp
Last synced: about 21 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/dotsunited/docker-git-ftp
- Owner: dotsunited
- License: mit
- Created: 2017-11-27T13:46:06.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T14:42:00.000Z (2 months ago)
- Last Synced: 2024-09-11T21:05:35.261Z (2 months ago)
- Language: Dockerfile
- Size: 19.5 KB
- Stars: 5
- Watchers: 9
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
docker-git-ftp
==============A minimal Alpine Linux docker image with the latest
[git-ftp](https://github.com/git-ftp/git-ftp) suited for automated deployments
via Continuous Delivery systems like GitLab Pipelines.Automatically build upon pushes to the master branch:
https://hub.docker.com/r/dotsunited/git-ftpUsage
-----Example `.gitlab-ci.yml` configuration:
```yml
deploy_production:
image: dotsunited/git-ftp
stage: deploy
environment:
name: production
url: https://example.com
only:
- master
script:
- git ftp push -v --auto-init --syncroot public/ --user $FTP_DEPLOY_USER --passwd $FTP_DEPLOY_PASSWORD $FTP_DEPLOY_HOST
```Make sure, you configure the `$FTP_DEPLOY_USER`, `$FTP_DEPLOY_PASSWORD` and
`$FTP_DEPLOY_HOST` variables in the CI/CD settings on GitLab.License
-------Copyright (c) 2017-2024 Dots United GmbH.
Released under the [MIT](LICENSE) license.