[CHORE] Adjust Action Logging

This commit is contained in:
Dunemask 2024-08-25 11:21:28 -06:00
parent b9a859a564
commit 3974280be1

View file

@ -44,10 +44,12 @@ runs:
# Ensure lengths match # Ensure lengths match
if [ "$path_len" != "$env_len" ]; if [ "$path_len" != "$env_len" ];
then then
echo "Input must match the output!" echo "Each path must specify it's environment!"
exit 1; exit 1;
fi fi
echo "Will execute ./infisical export --domain ${{ inputs.api-url }} --projectId ${{ inputs.project-id }} --token TOKEN --env ENV --path PATH"
# For each environment # For each environment
for i in "${!path_list[@]}"; for i in "${!path_list[@]}";
do echo "Getting secrets from path '${path_list[i]}' from '${env_list[i]}'" do echo "Getting secrets from path '${path_list[i]}' from '${env_list[i]}'"