updating configuration

This commit is contained in:
Your Name
2021-03-30 22:50:08 +00:00
parent 1c99d2a6ba
commit 067e9317ff
8 changed files with 109 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
#SHELL := /bin/bash
ARGS = `arg="$(filter-out $@,$(MAKECMDGOALS))" && echo $${arg:-${1}}`
update_secrets_sample:
@echo "Masking env files..."
@find . -name *.env | xargs -I{} cp {} {}.sample
@find . -name *.env.sample | xargs -I{} sed -i "s/\=.*/\=xxxxxxxxx/g" {}
commit: update_secrets_sample
git add .
git diff-index --quiet HEAD || git commit -m "$(call ARGS,\"updating configuration\")"
git push
%:
@: