Capistrano task to locally open a web page after deploy. Deploy never fails, of course, but you know, just in case.
Add this line to your application's Gemfile:
gem 'capistrano-open_in_browser', '~> 1.0.0'
And then execute:
$ bundle
Add this line to your Capfile
:
require 'capistrano/open_in_browser'
On deploy.rb
:
set :open_in_browser_url, "http://mysite.url"
Bug reports and pull requests are welcome on GitHub at https://github.com/freego/capistrano-open_in_browser. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.