Skip to content

Commit

Permalink
fix: Return absolute paths in environment variables (#14)
Browse files Browse the repository at this point in the history
Co-authored-by: mariusz.wojakowski <[email protected]>
  • Loading branch information
mariusz89016 and mariusz.wojakowski authored Feb 24, 2023
1 parent 3a8a7a8 commit 0861671
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/pull-gitlab-variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ for v in "${FILE_VARIABLES[@]}"
do
name=$(echo $v | jq -r '.key')
if [[ " ${ALLOWLIST_FILE_ARRAY[*]} " =~ " $name " ]]; then
randomized_name=${name}_$RANDOM
randomized_name="${PWD}/${name}_$RANDOM"
content=$(echo "$v" | jq -r '.value')
echo "$content" > $randomized_name
MULTIENV_RESULT+="${name}=${randomized_name}",
Expand Down

0 comments on commit 0861671

Please sign in to comment.