Wercker allows you to generate SSH keys and expose them as via environment variables to your build or deployment pipeline. This step can be used to write these values to an identity file and use ssh-add to add the new identitie to the authentication agent, ssh-agent.
This step is created especially to streamline the use of Capistrano deployment with deploy_via set to :remote_copy, :export, or :checkout.
KEYNAME
: The name of the key variable to export, this is without the_PUBLIC
or_PRIVATE
suffix. This key can be configured in the Settings page of your application and is exposed via the Deploy targets's Deploy pipeline.
deploy:
steps:
- bundle-install
- williamli/add-deploy-ssh-key:
keyname: MYPACKAGE_KEY
- cap
New in town.
- 0.0.7 - Adds keywords
- 0.0.6 - A better picture of how this step can be used in a cap deploy
- 0.0.5 - Fix incorrect step name in README example (again??!!)
- 0.0.4 - Fix incorrect step name in README example
- 0.0.3 - Updates example in README
- 0.0.2 - Adds README
- 0.0.1 - Initial version
The MIT License (MIT)
Copyright (c) 2013 wercker