Skip to content
This repository was archived by the owner on Sep 24, 2019. It is now read-only.

Commit d7c3d96

Browse files
committed
secrets
1 parent 440a5f4 commit d7c3d96

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ pickle-email-*.html
1414

1515
# TODO Comment out these rules if you are OK with secrets being uploaded to the repo
1616
config/initializers/secret_token.rb
17-
config/secrets.yml
17+
# config/secrets.yml
1818

1919
# dotenv
2020
# TODO Comment out this rule if environment variables can be committed

config/secrets.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
development:
2+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
3+
4+
test:
5+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
6+
7+
production:
8+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>

0 commit comments

Comments
 (0)