Update create-discord-thread.yml
This commit is contained in:
parent
040a1ce146
commit
5bd1438f04
4
.github/workflows/create-discord-thread.yml
vendored
4
.github/workflows/create-discord-thread.yml
vendored
@ -49,8 +49,8 @@ jobs:
|
|||||||
- name: Create message to send
|
- name: Create message to send
|
||||||
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"
|
||||||
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"
|
||||||
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')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user