From 9818671d84210cf68797c63ed671e1662d9c43ee Mon Sep 17 00:00:00 2001 From: Eric Larson Date: Mon, 8 Jan 2024 11:43:57 -0600 Subject: [PATCH] AppSignal - add deploy marker --- config/appsignal.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/appsignal.yml b/config/appsignal.yml index 7023c9b1d..8c940f9a9 100644 --- a/config/appsignal.yml +++ b/config/appsignal.yml @@ -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 %>