git: use git-crypt for secret environments
This commit is contained in:
parent
e88978adc2
commit
cfa8df818b
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Secret environment files
|
||||||
|
/*/*.env.secret filter=git-crypt diff=git-crypt
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,6 +1,6 @@
|
||||||
/*/*
|
/*/*
|
||||||
!*/*.env
|
!*/*.env
|
||||||
/*/*.env.secret # Just to document that they should definitely never be added
|
!*/*.env.secret
|
||||||
|
|
||||||
# This is not necessary with the wildcard used in the first line, but it is clearer
|
# This is not necessary with the wildcard used in the first line, but it is clearer
|
||||||
/swag/*
|
/swag/*
|
||||||
|
|
Reference in a new issue