From a09d27fa3a5d5afecb436f35a82a3531300e585c Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 10 Jan 2020 14:48:14 +0300 Subject: [PATCH] secrets update --- .gitmodules | 5 ++--- Makefile | 4 ++-- secrets | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) create mode 160000 secrets diff --git a/.gitmodules b/.gitmodules index 044bcef..aa15df7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,3 @@ [submodule "secrets"] - path = secrets - url = https://github.com/monster1025/secrets - + path = secrets + url = git@github.com:monster1025/secrets.git diff --git a/Makefile b/Makefile index 12c2e73..3b450a3 100644 --- a/Makefile +++ b/Makefile @@ -34,12 +34,12 @@ copy_secrets: @cp hass/settings/secrets.yaml secrets/hass/settings/secrets.yaml @cd secrets @git add . - @git commit -m "secrets update" + @git diff-index --quiet HEAD || git commit -m "secrets update" @git push commit: copy_secrets update_secrets_sample git add . - git commit -m "$(call ARGS,\"updating configuration\")" + git diff-index --quiet HEAD || git commit -m "$(call ARGS,\"updating configuration\")" git push %: diff --git a/secrets b/secrets new file mode 160000 index 0000000..e3bb1c5 --- /dev/null +++ b/secrets @@ -0,0 +1 @@ +Subproject commit e3bb1c5a448e0475d2a39bdb5071a4ade17f7670