test non encrypted secret

This commit is contained in:
2024-06-10 21:30:00 +10:00
parent 235142bb34
commit bc151ae5c6
4 changed files with 25 additions and 38 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/bash
set -e
filePath=$1
sops --encrypt --in-place $filePath
echo "File encrypted: $filePath."
git add $filePath
git commit -am "Encrypt file $filePath by GPG."