Set up git-crypt to encrypt .env files

This commit is contained in:
Christoph Haas 2026-02-26 01:45:03 +01:00
parent 784ce73adb
commit 0e18dd19bb
3 changed files with 4 additions and 0 deletions

BIN
.env.development Normal file

Binary file not shown.

BIN
.env.production Normal file

Binary file not shown.

4
.gitattributes vendored
View file

@ -7,3 +7,7 @@ db/schema.rb linguist-generated
vendor/* linguist-vendored vendor/* linguist-vendored
config/credentials/*.yml.enc diff=rails_credentials config/credentials/*.yml.enc diff=rails_credentials
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