Skip to content

Instantly share code, notes, and snippets.

@nickveys
nickveys / deploy.rb
Last active February 27, 2018 18:25 — forked from pablopaul/deploy.rb
Notify Sentry of a new release via Capistrano with webhook
# This task will notify Sentry via webhook that you have deployed
# a new release. It uses the release timestamp as the `version`
# (like 20151113182847) and the git ref as the optional `ref` value.
#
# This task requires `:sentry_uri` to be set. This can be done in
# a site-specific config/deploy/xxx.rb file. This can be obtained from
# the project's settings page.
# For Rails app, this goes in config/deploy.rb