You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
default: &defaultspush_api_key: "api_key"name: "app_name"revision: <%= File.read(Rails.root.join('.mina_git_revision')).strip if Rails.root.join('.mina_git_revision').exist? %>
… which works too but doesn't include the username in the deploy.
There's not :current_revision variable in mina, so it's a bit clumsy to use a remote (server-side) revision to execute local ruby code for the deploy notification. Proper support would be nice.
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for the request! We've been meaning to add support for the user name to the revision option.
For mina support, and better capistrano support so they don't use the deprecated option, we will have to look into the best way to read the revision from the app. I currently wouldn't know of a better way than to write a file on deploy and read it on boot.
I stumbled across this issue when trying to get Mina and AppSignal working together, there is a third party gem(mina-appsignal) that utilizes curl to create a deploy marker. I created a PR to update the mina dependency so you can still use it with the latest Mina as well.
We're using mina instead of capistrano to deploy. It'd be nice to have out of the box support for AppSignal deploy markers.
Right now we're using something like this:
… which uses the deprecated (?) CLI command.
Or this:
… which works too but doesn't include the username in the deploy.
There's not
:current_revision
variable in mina, so it's a bit clumsy to use a remote (server-side) revision to execute local ruby code for the deploy notification. Proper support would be nice.Thanks!
The text was updated successfully, but these errors were encountered: