#what
herokuのデプロイ時のエラーについて
下記、サイトを参考にしてデプロイしようとするとエラーになります。
https://qiita.com/kazukimatsumoto/items/a0daa7281a3948701c39
・ターミナル①
rake aborted!
remote: Devise.secret_key was not set. Please add the following to your Devise initializer:
remote:
remote: config.secret_key = 'af5b0fb56c36473325d9bf20b6b0c8de9ebf07f726ab89916d05e59b5193829fbfc4fe33bd6a9cac980d9a6bba97f8e3b514f4cc54c037338a4afb95d5efaace'
remote:
remote: Please ensure you restarted your application after installing Devise or setting the key.
・ターミナル②
remote: !
remote: ! Precompiling assets failed.
remote: !
remote: ! Push rejected, failed to compile Ruby app.
remote:
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to blue-meeting.
remote:
To https://git.heroku.com/blue-meeting.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/blue-meeting.git'
・ターミナルにてheroku logs と入力
2020-01-27T07:56:52.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/506e7bbb-94b5-4ce8-9f1b-c79edfc9bb96/activity/builds/dbc511f7-41fe-43cc-b15d-41a915729fe2
2020-01-27T10:11:08.000000+00:00 app[api]: Build started by user shibanba0127@gmail.com
2020-01-27T10:12:09.000000+00:00 app[api]: Build failed -- check your build output: https://dashboard.heroku.com/apps/506e7bbb-94b5-4ce8-9f1b-c79edfc9bb96/activity/builds/2203d9e7-e0f3-4119-a791-e39fa8ba9273
色々調べてみましたが、build系のエラーなのでしょうか?
ローカル環境では問題なく、本番環境のデプロイでのみエラーが起こります。
長文になりますが、是非ご確認のほど、よろしくお願いいたします
(※初心者なので文面などもしわかりづらければ申し訳ありません)