Capistrano::DeploymentStatus
A task for Capistrano v3 which adds a simple html page to your deployed rails app to show the details of the deployment.
- application
- branch/tag
- deploy time
- deployed by
- scm revision
- release timestamp
Installation
Add this line to your application's Gemfile:
gem 'capistrano-deployment-status'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-deployment-status
Usage
Require the gem in your Capfile:
require 'capistrano/deployment_status'
Currently, that's it. A task will at the end of the deploy that will place a deployment_status.html file in the release's public directory.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request