Fix bug introduced in dd7e167bf which prevented secret to be correctly saved
This commit is contained in:
2
dist/scripts/src/fetch-secrets.sh
vendored
2
dist/scripts/src/fetch-secrets.sh
vendored
@@ -47,7 +47,7 @@ main() {
|
|||||||
filename="$(jq -r .filename <<<"${obj}")"
|
filename="$(jq -r .filename <<<"${obj}")"
|
||||||
|
|
||||||
# Default output file name
|
# Default output file name
|
||||||
output_file="${secrets_dir}/${output_file}"
|
output_file="${secrets_dir}/${local_secret}"
|
||||||
|
|
||||||
# If filename is specified in json, use it; otherwise, use the local_secret as the filename
|
# If filename is specified in json, use it; otherwise, use the local_secret as the filename
|
||||||
if [[ -n ${filename} && ${filename} != "null" ]]; then
|
if [[ -n ${filename} && ${filename} != "null" ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user