Update create-discord-thread.yml

This commit is contained in:
Bas van den Berg 2025-03-17 13:11:11 +01:00 committed by GitHub
parent b7aae6802e
commit a6054d3dd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ jobs:
id: create_message id: create_message
run: | run: |
VAR="The ${{ env.TITLE }} script is ready for testing:\n\n" VAR="The ${{ env.TITLE }} script is ready for testing:\n\n"
VAR+="bash -c \"\$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/${{ env.TITLE }}.sh)\"\n\n" VAR+="\`\`\`bash -c \"\$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/${{ env.TITLE }}.sh)\"\`\`\`\n\n"
if [[ " ${EXISTING_FILES[@]} " =~ " json/${TITLE}.json " ]]; then if [[ " ${EXISTING_FILES[@]} " =~ " json/${TITLE}.json " ]]; then
JSON=$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/json/${{ env.TITLE }}.json) JSON=$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/json/${{ env.TITLE }}.json)
username=$(echo "$JSON" | jq -r '.default_credentials.username') username=$(echo "$JSON" | jq -r '.default_credentials.username')