To any branch I push my code is being deployed to FTP.
image: samueldebruyn/debian-git
pipelines:
default:
- step:
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://ftp.example.com/path/to/website
How to create multiple pipelines for different branches?
Like testing branch to testing/path, and deploy branch to deploy/path.