Skip to content

Commit

Permalink
AppSignal - add deploy marker
Browse files Browse the repository at this point in the history
  • Loading branch information
ewlarson committed Jan 8, 2024
1 parent de3bdfc commit 9818671
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/appsignal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ development:
production:
<<: *defaults
active: true
<% revision = if (defined?(Rails)); Rails.root.join('REVISION'); end %>
<% if revision&.exist? %>
revision: "<%= revision.read.strip[0, 7] %>"
<% end %>

0 comments on commit 9818671

Please sign in to comment.