yadm-config/.config/yadm/hooks/post_push

8 lines
190 B
Bash

#!/bin/bash
handleSecretChanges() {
secretsFolderPath="$HOME/.local/share/secrets"
git --git-dir "$secretsFolderPath/.git" --work-tree "$secretsFolderPath" push }
handleSecretChanges