Set up git-crypt to encrypt .env files
This commit is contained in:
parent
784ce73adb
commit
0e18dd19bb
3 changed files with 4 additions and 0 deletions
BIN
.env.development
Normal file
BIN
.env.development
Normal file
Binary file not shown.
BIN
.env.production
Normal file
BIN
.env.production
Normal file
Binary file not shown.
4
.gitattributes
vendored
4
.gitattributes
vendored
|
|
@ -7,3 +7,7 @@ db/schema.rb linguist-generated
|
|||
vendor/* linguist-vendored
|
||||
config/credentials/*.yml.enc diff=rails_credentials
|
||||
config/credentials.yml.enc diff=rails_credentials
|
||||
|
||||
# Encrypt env files
|
||||
.env.production filter=git-crypt diff=git-crypt
|
||||
.env.development filter=git-crypt diff=git-crypt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue