If you are using SwitchTower to deploy your apps and your subversion repository needs a different user and password to your deployment boxes then use the following snippet in your deploy.rb:
set :repository, "--username usr --password pass http://repourl/"
It isn’t ideal as your password is in deploy.rb but you could use a read-only user. I am hoping I can figure out how to send an environment variable when using rake deploy so that I can set the password then.
I found this little trick on SwitchTower progress.
Add New Comment
Thanks. Your comment is awaiting approval by a moderator.
Do you already have an account? Log in and claim this comment.
Add New Comment
Trackbacks
(Trackback URL)