Skip to content

Appendix

Brett Weaver edited this page Dec 3, 2012 · 1 revision

Appendix

Notifications

Currently Simple Deploy only supports Campfire for notifications. To enable them, add your token, which can be obtained on the 'My Info' screen of Campfire in the notifications yaml above. If you don't want notificaitons, omit this section.

To enable notifications on deployment to a Campfire room. Append the below to the ~/.simple_deploy.yml.

notifications:
  campfire:
    token: XXX

Commands

For a list of commands, run simple_deploy -h. To get more information about each subcommand, append a -h after the subcomand. For example: simple_deploy deploy -h.

Deploying

By default simple deploy will use your user name and id_rsa key for deployments. To override either these, set the SIMPLE_DEPLOY_SSH_USER & SIMPLE_DEPLOY_SSH_KEY respectively.

export SIMPLE_DEPLOY_SSH_USER=user
export SIMPLE_DEPLOY_SSH_KEY=path_to_ssh_key

An alternate config file can be supplied by setting the SIMPLE_DEPLOY_CONFIG_FILE variable.

export SIMPLE_DEPLOY_CONFIG_FILE=/secret/my-config.yml

Clone this wiki locally