mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 05:57:26 +00:00
Update create-discord-thread.yml
This commit is contained in:
2
.github/workflows/create-discord-thread.yml
vendored
2
.github/workflows/create-discord-thread.yml
vendored
@@ -47,7 +47,7 @@ jobs:
|
||||
VAR="The ${{ env.TITLE }} script is ready for testing:\n"
|
||||
VAR+="\`\`\`bash -c \"\$(wget -qLO - https://github.com/community-scripts/ProxmoxVED/raw/main/ct/${{ env.TITLE }}.sh)\"\`\`\`\n"
|
||||
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/frontend/public/json/${{ env.TITLE }}.json)
|
||||
username=$(echo "$JSON" | jq -r '.default_credentials.username')
|
||||
password=$(echo "$JSON" | jq -r '.default_credentials.password')
|
||||
mapfile -t notes_array < <(echo "$JSON" | jq -r '.notes[].text')
|
||||
|
||||
Reference in New Issue
Block a user