Skip to content

Commit

Permalink
Add sentry auth token to credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed May 31, 2024
1 parent fb9d7aa commit b913b9c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions config/deploy.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# make rails credentials available to capistrano
require File.expand_path("./environment", __dir__)

# Set the sentry auth token as an environment variable
set :default_environment, {
SENTRY_AUTH_TOKEN: Rails.application.credentials.sentry_auth_token,
}

# config valid only for current version of Capistrano
lock '~> 3.9'

Expand Down Expand Up @@ -137,3 +129,11 @@
end
end
end

# make rails credentials available to capistrano
require File.expand_path("./environment", __dir__)

# Set the sentry auth token as an environment variable
set :default_environment, {
SENTRY_AUTH_TOKEN: Rails.application.credentials.sentry_auth_token,
}

0 comments on commit b913b9c

Please sign in to comment.