You use lots of tools to get web & app development done. Buddy creates more time in your day by helping you automate those tools.
What it does
SFTP action uploads your files from the Git repository or the pipeline filesystem to an SFTP server. A pipeline filesystem contains the fetched Git repository, artifacts generated by build actions, and static files uploaded by the user.
How it works
The action is aware about what is currently on the server and will upload only what has changed. It uploads new files, updates the changed and deletes everything what was deleted in the repository or the filesystem. The same goes for the deploys from the pipeline filesystem: only changes are deploy between executions.
SFTP Action Features
- Directories with unversioned files (e.g. uploaded manually) will not be deleted from the server if they are deleted in the repository
- The first execution deploys everything from scratch by default. If you have legacy files on the server, you can provide the Current Revision in the pipeline settings
- If you roll back by selecting a previously deployed revision, the action will deploy what is necessary to revert the site to the previous state
- You can provide the URL of the target server in the pipeline settings so it can be easily opened in a browser from the pipelines list
- Poor & dropped connections are handled by automatic retries. The retries will continue in case the connection drops
- The tool supports multithreading to speed up deployments
- If several actions are connecting to the same server, use Environment Variables to manage user & password credentials instead of providing fixed values in the inputs
- Once correct login details are provided, it is possible to browse the remote server and select the Remote path (target path for the deployments) from Buddy’s UI instead of typing it manually
- Sometimes it helps to select the passive mode for the connection, e.g. when the target server is behind a firewall or the connection isn't stable enough
- Buddy supports passwords, SSH keys, and Buddy's SSH keys as a means of authentication. Passphrases are supported, too
- You can define SSH keys as ENV VARs and select them in the action details for authentication
- The action can be configured in YAML mode. See SFTP YAML parameters and SFTP YAML config example
- Buddy's SFTP API is supported
More about SFTP
Do more with SFTP
Buddy allows you to instantly connect SFTP with 100+ actions to automate your development and build better apps faster.