mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Reorganize .secret
This commit is contained in:
@@ -4,13 +4,13 @@ if [ -z "$GPG_PASSWORD" ]; then
|
|||||||
echo Env variable GPG_PASSWORD must be defined
|
echo Env variable GPG_PASSWORD must be defined
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
for file in gcp-key.json keystore.jks gradle.properties env; do
|
gpg \
|
||||||
gpg \
|
--quiet \
|
||||||
--quiet \
|
--batch \
|
||||||
--batch \
|
--yes \
|
||||||
--yes \
|
--decrypt \
|
||||||
--decrypt \
|
--passphrase="$GPG_PASSWORD" \
|
||||||
--passphrase="$GPG_PASSWORD" \
|
--output secret.tar.gz \
|
||||||
--output $file \
|
secret
|
||||||
$file.gpg
|
tar -xzf secret.tar.gz
|
||||||
done
|
rm secret.tar.gz
|
||||||
|
|||||||
BIN
.secret/env.gpg
BIN
.secret/env.gpg
Binary file not shown.
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
<EFBFBD>
|
|
||||||
Binary file not shown.
BIN
.secret/secret
Normal file
BIN
.secret/secret
Normal file
Binary file not shown.
Reference in New Issue
Block a user