Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotsunited/ftp-deploy
https://github.com/dotsunited/ftp-deploy
Last synced: about 21 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/dotsunited/ftp-deploy
- Owner: dotsunited
- License: mit
- Created: 2024-07-05T14:06:29.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-07-05T14:12:35.000Z (5 months ago)
- Last Synced: 2024-07-05T18:47:27.312Z (5 months ago)
- Language: Dockerfile
- Size: 1.95 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ftp-deploy
A lightweight Docker image based on Alpine Linux, featuring the latest version of the [ftp-deploy](https://github.com/SamKirkland/ftp-deploy) package, optimized for automated deployments through Continuous Delivery platforms such as GitLab Pipelines.
## Usage
Example `.gitlab-ci.yml` configuration:
```yml
deploy:
stage: 🚀 Deploy
image: ghcr.io/dotsunited/ftp-deploy:latest
environment:
name: production
script:
- |
ftp-deploy \
--server-dir $SERVER_DIR \
--local-dir $LOCAL_DIR \
--server $FTP_SERVER \
--protocol $FTP_PROTOCOL \
--username $FTP_USERNAME \
--password $FTP_PASSWORD \
```Make sure, you configure the environment variables in the CI/CD settings of your GitLab project.
To learn more about all the options available for ftp-deploy, you should visit the page for [ftp-deploy](https://github.com/SamKirkland/ftp-deploy).
### License
Copyright (c) 2024 Dots United GmbH.
Released under the [MIT](LICENSE) license.