Skip to content

Commit

Permalink
base64 decode on the GH content
Browse files Browse the repository at this point in the history
  • Loading branch information
flovntp committed Jan 29, 2025
1 parent 687eefb commit 7142175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sites/upsun/llms-get-gh-config-examples.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ for template_name in $template_dirs; do
echo "Downloading config from: $config_url"
# Fetch the file content from GitHub API
config_data=$(curl -s -H "Authorization: token $GH_API_KEY" -H 'Accept: application/vnd.github.v3.raw' "$config_url")
echo config_data
echo $config_data

echo -e "\n## Example of a ${template_name} config \n" >> "$config_file_path"
echo "This is an example of a config.yaml file to host a \`$template_name\` stack on Upsun." >> "$config_file_path"
Expand All @@ -42,7 +42,7 @@ for template_name in $template_dirs; do
done
else
echo "No .upsun folder for $template_name"
echo "$upsun_response" # Affiche la réponse brute pour le diagnostic
#echo "$upsun_response" # Affiche la réponse brute pour le diagnostic
continue
fi

Expand Down

0 comments on commit 7142175

Please sign in to comment.