diff --git a/.github/workflows/create-discord-thread.yml b/.github/workflows/create-discord-thread.yml index eaeb1be..7b95802 100644 --- a/.github/workflows/create-discord-thread.yml +++ b/.github/workflows/create-discord-thread.yml @@ -46,7 +46,7 @@ jobs: run: | 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 + if [[ " ${EXISTING_FILES[@]} " =~ " frontend/public/json/${TITLE}.json " ]]; then 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')