Knowledge

DigitalOcean [Password]

Parameters

Name Description
action Required String The ID of the action.
type Required String The type of the action. Should be set to DIGITAL_OCEAN.
authentication_mode Required String The authentication mode for SSH. Should be set to PASS.
host Required String The host for the connection.
login Required String The username required to connect to the server.
password Required String The password required to connect to the server.
port Required String The port for the connection.
trigger_time String Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION, ON_FAILURE or ON_BACK_TO_SUCCESS.
input_type String Defines whether the files are deployed from the repository or from the build filesystem. Can be one of SCM_REPOSITORY or BUILD_ARTIFACTS.
local_path String The path in the repository.
remote_path String The absolute or relative path on the remote server.
deployment_excludes String[] The paths and/or files that will be left out during the deployment.

Example

actions:
  - action: "Upload files to DO droplet"
    type: "DIGITAL_OCEAN"
    input_type: "SCM_REPOSITORY"
    local_path: "/"
    remote_path: "Home/www/"
    login: "DO_user"
    password: "DO_password"
    host: "123.45.67.89"
    port: "22"
    passphrase: "secret_passphrase"
    authentication_mode: "PASS"
    deployment_excludes:
    - "/assets/"
    - "file.txt"

Get started now

14 days of unlimited trial. No credit card required.