fix encryption script

This commit is contained in:
2024-06-11 00:43:37 +10:00
parent 0f69461602
commit b12bc99b45

View File

@@ -3,7 +3,7 @@ set -e
filePath=$1
AGE_PUB_KEY"age1d47q8mlty404pxx378q49hr93aqexca4mkeqtdm00w4gjd09xd0qhxcdcz"
AGE_PUB_KEY="age1d47q8mlty404pxx378q49hr93aqexca4mkeqtdm00w4gjd09xd0qhxcdcz"
sops --age=$AGE_PUB_KEY --encrypt --encrypted-regex '^(data|stringData)$' --in-place $filePath
echo "File encrypted: $filePath."