From a3e82630b2b0e87e3f4a90cc295267ddd42ba962 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Tue, 24 May 2022 13:53:39 +0100 Subject: [PATCH] Set rails master key in deploy pipelines --- .github/workflows/production_pipeline.yml | 1 + .github/workflows/staging_pipeline.yml | 1 + app/mailers/devise_notify_mailer.rb | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/production_pipeline.yml b/.github/workflows/production_pipeline.yml index 693c75c22..bd3069e73 100644 --- a/.github/workflows/production_pipeline.yml +++ b/.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 diff --git a/.github/workflows/staging_pipeline.yml b/.github/workflows/staging_pipeline.yml index 5304c9138..e743f4504 100644 --- a/.github/workflows/staging_pipeline.yml +++ b/.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 diff --git a/app/mailers/devise_notify_mailer.rb b/app/mailers/devise_notify_mailer.rb index 9a93f6c5a..7fd2e256f 100644 --- a/app/mailers/devise_notify_mailer.rb +++ b/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