I work with less technical stakeholders and testers on producing a Rails 3.1 app who benefit greatly from seeing the HTML output rendered by my Cucumber and RSpec tests.
I would like a way to bundle this output with the app when I deploy, but am struggling to find the cleanest way to do this. The repo is on Github and we deploy with Capistrano. I would strongly prefer keep this out of version control.
Is anyone else doing this? Thanks!
I don’t know why the obvious solution didn’t occur to me earlier: gitignore the doc files and add a deployment task to scp the files directly into the app’s public directory.
.gitignore
lib/tasks/doc.rake
config/deploy.rb