Uploading tar archive.

After you have tared the site you want to deploy you need to move it in place on the remote server (local server is not supported for now - but you could use the servers ip to deploy it to itself).

dopcat upload

Options

--app-name[=APP-NAME]                   App name
--tar[=TAR]                             Tar file
--server[=SERVER]                       Server
--user[=USER]                           User (ssh)
--ssh_port[=SSH_PORT]                   SSH port
--identity_file[=IDENTITY_FILE]         Identify file
--build-id[=BUILD-ID]                   Id [default: "_"]
--separator[=SEPARATOR]                 Name separator [default: "_"]
--tar_dir[=TAR_DIR]                     Tar dir [default: "/tmp"]
--ssh_key_password[=SSH_KEY_PASSWORD]   SSH key password
--target_dir[=TARGET_DIR]               Target dir [default: "/tmp"]
--timeout[=TIMEOUT]                     Timeout [default: "3600"]
--keeptar                               Keep tar after upload  (defaults to no)
--dontchecksha1                         Don't check SHA1 hash for file (defaults to no)

Yaml

app_name: foo
local:
  environment:
    tar_name: foo.tar
    tar_dir: /tmp/here/it/is

remote:
  environment:
    server: some.ip.address
    ssh_user: someuser
    ssh_port: someport
    target_dir: /where/to/upload
    identity_file: /path/to/my/ssh/key
    ssh_key_password: somepass