diff options
| author | Djihads80 <mahboubijoujou111@gmail.com> | 2026-11-01 00:18:12 +0100 |
|---|---|---|
| committer | Djihads80 <mahboubijoujou111@gmail.com> | 2026-11-01 00:18:12 +0100 |
| commit | 15215b46d9e02e73d71d14894e2d6d5f5dfcbc5a (patch) | |
| tree | 5f78b7905def81edaf29498ef7bcc302f173d54f /.github | |
| parent | e36d46693b0cc1324861625ee90e90b4799811d4 (diff) | |
Added auto-ping on pre-release for discord server
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release-binaries.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml index 037c4b0b9b..57138342e5 100644 --- a/.github/workflows/release-binaries.yml +++ b/.github/workflows/release-binaries.yml @@ -493,3 +493,13 @@ jobs: Linux (AppImage): make it executable (chmod +x) and run it; it bundles its libraries and needs glibc 2.39 or newer (Ubuntu 24.04, Fedora 40, Debian 13, Arch). Linux (tar.gz): extract it and run ./eglantine or ./eden-cli; it uses your system libraries, so Qt 6 and the usual libraries must be installed. The -pgo builds are the same programs compiled with profile-guided optimization (clang plus Eden's profile); prefer them when your CPU supports it. The Windows PGO build is a MinGW build, so it carries its own DLLs and needs no Visual C++ redistributable." + + - name: Ping Discord + shell: bash + env: + WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }} + run: | + jq -n \ + --arg content "## <@&1566184315178713190> Eglantine ${GITHUB_REF_NAME} build ${GITHUB_RUN_NUMBER} (${GITHUB_SHA::7})" \ + '{content: $content, allowed_mentions: {roles: ["1566184315178713190"]}}' \ + | curl -fsS -H "Content-Type: application/json" -d @- "$WEBHOOK" |
