Adds hooks for secrets
This commit is contained in:
parent
63fcd502a8
commit
7a56328fad
4 changed files with 50 additions and 11 deletions
8
.config/yadm/hooks/post_push
Normal file
8
.config/yadm/hooks/post_push
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
handleSecretChanges() {
|
||||
secretsFolderPath="$HOME/.local/share/secrets"
|
||||
|
||||
git --git-dir "$secretsFolderPath/.git" --work-tree "$secretsFolderPath" push }
|
||||
|
||||
handleSecretChanges
|
||||
Loading…
Add table
Add a link
Reference in a new issue