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