π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Use Discord components for Ensu release links
Manav Rathic88d51246be2
diff --git a/.github/workflows/ensu-build.yml b/.github/workflows/ensu-build.ymlindex f96db8bf79..da5e326e62 100644--- a/.github/workflows/ensu-build.yml+++ b/.github/workflows/ensu-build.yml@@ -422,5 +422,16 @@ jobs:--arg title "${{ needs.build-metadata.outputs.release_title }}" \--arg body "${release_body_discord}" \--arg download_line "${download_line}" \- '{embeds: [{title: $title, description: $body, fields: [{name: "\u200B", value: $download_line, inline: false}], color: 16633363}]}' \- | curl -fsSL -H 'Content-Type: application/json' -d @- "${DISCORD_WEBHOOK}"+ '{+ flags: 32768,+ components: [{+ type: 17,+ accent_color: 16633363,+ components: (+ [{type: 10, content: ("## " + $title)}]+ + (if $body == "" then [] else [{type: 10, content: $body}] end)+ + [{type: 14}, {type: 10, content: $download_line}]+ )+ }]+ }' \+ | curl -fsSL -H 'Content-Type: application/json' -d @- "${DISCORD_WEBHOOK}?with_components=true"