You can create an ignore file, .git-ftp-ignore, to ignore things from legacy fab deployments https://github.com/git-ftp/git-ftp/blob/master/man/git-ftp.1.md#ignoring-files-to-be-synced
Used when we only have ftp access to servers.
image: tombras/git-ftp
pipelines:
branch:
master:
- step:
name: Dev Deployment
deployment: test
script:
- git ftp push --auto-init --user $FTP_DEV_USERNAME --passwd $FTP_DEV_PASSWORD ftp://YOUR_SERVER_ADDRESS/PATH_TO_WEBSITE/
- step:
trigger: manual
name: Stage Deployment
deployment: staging
script:
- git ftp push --auto-init --user $FTP_STAGE_USERNAME --passwd $FTP_STAGE_PASSWORD ftp://YOUR_SERVER_ADDRESS/PATH_TO_WEBSITE/
- step:
trigger: manual
name: Production Deployment
deployment: production
script:
- git ftp push --auto-init --user $FTP_PROD_USERNAME --passwd $FTP_PROD_PASSWORD ftp://YOUR_SERVER_ADDRESS/PATH_TO_WEBSITE/
Content type
Image
Digest
Size
11.4 MB
Last updated
over 7 years ago
docker pull tombras/git-ftp