Browse Source

Set rails master key in deploy pipelines

pull/603/head
baarkerlounger 4 years ago
parent
commit
a3e82630b2
  1. 1
      .github/workflows/production_pipeline.yml
  2. 1
      .github/workflows/staging_pipeline.yml
  3. 1
      app/mailers/devise_notify_mailer.rb

1
.github/workflows/production_pipeline.yml

@ -41,6 +41,7 @@ jobs:
DB_DATABASE: data_collector
DB_USERNAME: postgres
DB_PASSWORD: password
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
steps:
- name: Get latest release with tag

1
.github/workflows/staging_pipeline.yml

@ -41,6 +41,7 @@ jobs:
DB_DATABASE: data_collector
DB_USERNAME: postgres
DB_PASSWORD: password
RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
steps:
- name: Checkout

1
app/mailers/devise_notify_mailer.rb

@ -52,7 +52,6 @@ class DeviseNotifyMailer < Devise::Mailer
Rails.application.credentials[:email_allowlist]
end
# def unlock_instructions(record, token, opts = {})
# super
# end

Loading…
Cancel
Save