Deploying files via SFTP
If you are new to Buddy, check out our quickstart guides that will tell you how to create build, test and deploy your type of application.
Buddy turns deployments into a breeze, allowing you to automatically update your servers on every push to branch. You can also deploy manually on click, or recurrently on time intervals.
- Create a new project, select your Git provider and choose the repository with your project
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy
Look up and click SFTP on the action list
Select the authentication mode and provide the details to your server:
- When ready, click Test & save this action on success. Buddy will upload and delete a test file to check if your server has proper permissions set.
The deployment mechanism is based on changesets which makes it very fast, as only changed files are uploaded. The first deployment is always performed from scratch, unless you set a revision on the server first.
What you need to know
- Select Repository as the Source to deploy only the files from your repository. If you use build actions, select Pipeline Filesystem as the Source to add artifacts, processed files & uploaded static files.
- You can use environment variables to store authentication details to your servers.
- You can use Ignore paths to exclude files for deployment in More Options.