hack/deploy: SECRETS_MANIFEST is a file now

This commit is contained in:
Luke Granger-Brown 2020-05-10 00:08:28 +01:00
parent 818751bac1
commit f8bf41b36a

View file

@ -8,7 +8,7 @@ while read -r manifest_line; do
if [[ "${#manifest_bits[@]}" -ne 2 ]]; then continue; fi
echo -e "\t${manifest_bits[1]}"
cp "${!manifest_bits[0]}" "${manifest_bits[1]}"
done <<< "$SECRETS_MANIFEST"
done < "$SECRETS_MANIFEST"
if [ -z ${2+x} ]; then ssh_cmd="ssh"; else ssh_cmd="ssh $2"; fi